-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NHS login buttons (WIP for discussion) #992
base: main
Are you sure you want to change the base?
Conversation
Quick thoughts:
Also worth nothing that, in any guidance associated with this new button variant, and with any co-ordination needed with IAM teams within NHS England, there is also the Care Identity service, which provides login management for NHS staff. Their guidance is similar to that for NHS Login. |
Good points @paulrobertlloyd
|
The Care Identity button guidance suggests always having a logo, but that does contract the NHS brand guidance of only having a single logo per page. I wonder if we should avoid having the logo in the button for now - for both NHS login and Care Identity, and instead seek to update the Care Identity button guidance for NHS branded staff-facing services? |
Assuming the button can accept HTML, that provides a way to include the logo, so not including a logo option in the component, at least to start off with, seems fine to me. |
LGTM, as discussed it would be good to try include the NHS logo to see if the current styles work or if there is more required |
Fixes nhsuk/nhsuk-service-manual-community-backlog#374
Description
This adds the NHS login and login reverse button variants to the design system. It's not an exact recreation, so for discussion. I suspect where the existing login button styles differ from the design system may not be intentional, so we should consider making their active and focus styles align with other design system buttons. If we can track down the source SCSS, it might also be helpful to understand how they were made.
The existing design system button is repetitive and could do with a refactor, but for now I've just created them in a similar way to the existing alternate button styles.
This doesn't cover inserting the NHS logo within the button - perhaps it should?
Differences:
Regular login button:
Reverse login button