Skip to content
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

Change colour for current page link in the header to improve contrast when printing #3021

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

MalcolmVonMoJ
Copy link
Contributor

Changing the blue back to the brand colour #1d70b8 when printing. The colour #1d8feb is presumably to contrast against the black #0b0c0c header, but when printing the header is white #ffffff, so it makes sense to use a darker blue which contrasts better against white.

@colinrotherham colinrotherham added the awaiting triage Needs triaging by team label Nov 18, 2022
Copy link
Member

@querkmachine querkmachine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does exactly what it says on the tin.

Needs a second approval before merging. Probably warrants a changelog entry too?

Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MalcolmVonMoJ Looks good to me too 👍🏻

Before I give this the official github tick, I'd like to ask that you add a changelog entry and squash the commit history. We're happy to handle this if you prefer.

@MalcolmVonMoJ
Copy link
Contributor Author

@owenatgov Can you do this please? I don't know how to squash in github. I went to add it to the changelog too, but mistook "feature release" for "future release" and put it in the wrong place. Undid that error, but I think someone else is best to squash and update the changelog as I'm not sure where it is.

Also, one of the automated tests was failing and I am not sure what to do about it.

Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as the code is 👌🏻 I'll tidy up the commit history, add a changelog entry and merge in a jiffy.

@owenatgov owenatgov force-pushed the patch-6 branch 2 times, most recently from 4f56eea to 5c12c89 Compare December 5, 2022 18:32
Changing the blue back to the brand colour `#1d70b8` when printing.  The colour `#1d8feb` is presumably to contrast against the black `#0b0c0c` header, but when printing the header is white, so it makes sense to use a darker blue which contrasts better against white.

Linting tests changes

Removed trailing spaces and added blank line as per linting test errors

Linting tests changes

Removed blank line as per linting test errors (yep - the same one that the linter told me to add)

Remove whitespace

Update changelog with link to PR

undid mistake
@owenatgov owenatgov merged commit de378ee into alphagov:main Dec 5, 2022
@owenatgov owenatgov deleted the patch-6 branch December 5, 2022 18:38
@36degrees 36degrees added this to the [NEXT] milestone Dec 15, 2022
@owenatgov owenatgov changed the title Printing style for current page link in header Change colour for current page link in the header to improve contrast when printing Jan 27, 2023
@owenatgov owenatgov mentioned this pull request Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

6 participants