-
Notifications
You must be signed in to change notification settings - Fork 333
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
Allow border and hover colours to be overridden #4268
Conversation
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.
Great stuff, thanks @paulrobertlloyd! Could you please add a changelog entry? This would just be a fix so only needs to follow that format and be a list item under the unreleased fixes heading. I'm also happy to do this for you.
@owenatgov Done! |
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.
Lovely. Just needs a 2nd review.
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.
LGTM! (Though it looks like a merge conflict snuck in literally as I was reviewing this.)
The name of the $govuk-hover-colour
variable really doesn't helpfully describe what it actually does, huh? 😅
Merge conflict resolved. |
Cheers @paulrobertlloyd, do you mind rebasing or squashing away the merge commit that's snuck in? |
Isn't there a big green button on GitHub that lets you do that? Unless it's disabled in this repo? (I've been making these changes via the GitHub website, safe faffing about with the repo on my machine again!) |
We have it turned off 😣 |
Bugger. Faff it is then. |
Sorry, I’ve tried squashing commits in my |
`$govuk-border-colour` and `$govuk-hover-colour` are missing a `!default` declaration, meaning its not possible to override these values in upstream projects.
I've rebased your branch against the latest |
With 2 approvals and a clean commit history (thanks @36degrees!) I'm going to merge this. Thanks again @paulrobertlloyd! |
Thanks @36degrees! |
$govuk-border-colour
and$govuk-hover-colour
are missing!default
declarations, meaning its not possible to override these values in upstream projects as it is with other colour values in this file.