Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Brand - High contrast colour in Firefox #787

Merged
merged 5 commits into from
Jul 8, 2019
Merged

Conversation

12
Copy link
Contributor

@12 12 commented Jul 5, 2019

Resolves #736

Overall change: Sets SVG fill to be currentColor to enable the SVG to be seen in Firefox when the end-user has changed their colour preferences, or enabled high contrast mode.

Note: This was already working in IE

Firefox before:
image

Firefox after:
image

Code changes:

  • Update psammead-brand to pull in latest psammead-assets
  • Update psammead-brand to inherit the currentColor to use as the SVG fill
  • Update psammead-assets stories to display the SVG in high contrast mode

  • I have assigned myself to this PR and the corresponding issues
  • Tests added for new features
  • Test engineer approval

@12 12 requested review from dr3, j-pendlebury, pjlee11 and sareh as code owners July 5, 2019 12:12
@12 12 self-assigned this Jul 5, 2019
@12 12 added the bug Something isn't working label Jul 5, 2019
@jamesbrumpton
Copy link
Contributor

LGTM

@jamesbrumpton
Copy link
Contributor

LGTM

@12 12 merged commit b548d67 into latest Jul 8, 2019
@12 12 deleted the 736_fix-hc-brand-colour branch July 8, 2019 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
articles-av-epic bug Something isn't working high priority shared-components ws-articles Tasks for the WS Articles Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brand can't be seen in FireFox when a user changes the colour preferences
4 participants