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

Fix branded links and organisation logo hover state text colour #1491

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

injms
Copy link
Contributor

@injms injms commented Sep 18, 2019

Why

Links on pages that used branding colours (for example, the DCM and also S About page) didn't have the correct focus state text colour.

Rough and ready patch for #1487.

What

This changes the text colour of the focus state of all of the links which use branded colours.

Before:
Screen Shot 2019-09-16 at 14 05 49
Screen Shot 2019-09-18 at 11 17 58
Screen Shot 2019-09-18 at 11 17 43

After:
Screen Shot 2019-09-18 at 11 17 11
Screen Shot 2019-09-18 at 11 17 53
Screen Shot 2019-09-18 at 11 17 49


Visual regression results:
https://government-frontend-pr-1491.surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-1491.herokuapp.com/component-guide

Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

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

👏

@andysellick
Copy link
Contributor

@injms if you put Fixes https://github.com/alphagov/government-frontend/issues/1487 in the PR description it'll auto-close the issue when this PR is merged.

@injms
Copy link
Contributor Author

injms commented Sep 18, 2019

@injms if you put Fixes https://github.com/alphagov/government-frontend/issues/1487 in the PR description it'll auto-close the issue when this PR is merged.

This doesn't completely fix the issue as it only mends the focus state, which is why I didn't close the issue. I'll fix that issue separately, since the focus state was a more important issue.

@injms injms merged commit 3262df3 into master Sep 18, 2019
@injms injms deleted the department-logo-and-branding-links-focus-state branch September 18, 2019 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants