-
Notifications
You must be signed in to change notification settings - Fork 17
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
Upgrade to publishing components v19 #1448
Conversation
2b6fba6
to
85a9a7d
Compare
85a9a7d
to
66ab617
Compare
58989d5
to
d4055d8
Compare
51f272b
to
1df45d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've only got one minor thing to change that I spotted, but from my point of view I'd rather an FE dev checked the commit that updates styles.
1df45d9
to
73fad00
Compare
- with colour and rem fallback flags
0aab74c
to
5a895ba
Compare
@@ -36,7 +36,6 @@ | |||
} | |||
|
|||
.app-c-back-to-top { | |||
color: $link-colour; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest putting the govuk-link
class on the elements in place of the stuff that's been removed here.
@@ -1,16 +1,26 @@ | |||
.app-c-published-dates { | |||
@include core-16; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, you could try govuk-link
on this element. I'm going to stop writing comments on this because there's a lot of them, the main benefit is that with the additional link class we're not duplicating the focus styles every time the mixin is called.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of my comments have already been noted by @andysellick 🙂
- Link redirected to live site.
Changes made: - Explicitly adding the focus state multiple times - Adding a class to hang the focus state off where necessary - Removing "@include core-16" as it isn't needed and it introduces line spacing that makes the focus state overlap - Removing an explicitly set link colour that overrode the focus state - Adding breathing space to the print link
5a895ba
to
a3091eb
Compare
What
The upgrade to version 19 of the component gem will bring in the changes made to version 3 of GOV.UK Design System.
The legacy colours flag is turned on, and the legacy font size is set to be used. (There will be a separate pull request to remove this legacy code and to turn on the new colour palette.)
Why
The improvements include a new focus state, which will help this app to reach the WCAG 2.1 standard. It also has a tonne of other improvements that cascade from Design System, such as the new smaller font.
Visual regression results
https://government-frontend-pr-1448.surge.sh/gallery.html
Component guide for this PR:
https://government-frontend-pr-1448.herokuapp.com/component-guide