-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Correct CSS to match brand color palette and meet accessibility requirements #9427
Closed
6 of 10 tasks
Tracked by
#9495
Labels
e2-days
Effort: < 5 days
infra.design
Relates to the design of docs.flutter.dev
infra.structure
Relates to the tools that create docs.flutter.dev
p1-high
Major but not urgent concern: Resolve in months. Update each month.
t.a11y
Relates to an accessibility concern
Comments
As a note, don't worry about the code snippet colors as part of this work. Other work I'm doing (dart-lang/site-www#3846) and hopefully opening a PR for soon (first on site-www) will completely overhaul those. |
atsansone
added a commit
that referenced
this issue
Oct 25, 2023
Fixes #9427 Staged: https://tony-flutter-site--docs-6warcibu.web.app This doesn't cover updates to the lexer colors. That will happen later. These changes: - Darkened text color to create the required contrast between body background. (Current 3.49:1, Needs 4.5:1) - Darkened background color of button to contrast with link text. (Current 3.79:1, Needs 4.5:1) - Darkened text color of code text to contrast with the background. (Current 3.99:1, Needs 4.5:1) - Darkened text color of copy to contrast with the link text. (Current 2.54, Needs 3:1) - Change heading font settings to Design Standards. Current: ![image](https://github.com/flutter/website/assets/706219/bf85e141-b2e8-4b21-a6fd-0c78f2c67f10) Changed: ![image](https://github.com/flutter/website/assets/706219/515d454e-e39f-4d1b-875d-0026373db12a) --------- Co-authored-by: Parker Lougheed <[email protected]>
atsansone
added a commit
to atsansone/website
that referenced
this issue
Oct 25, 2023
Fixes flutter#9427 Staged: https://tony-flutter-site--docs-6warcibu.web.app This doesn't cover updates to the lexer colors. That will happen later. These changes: - Darkened text color to create the required contrast between body background. (Current 3.49:1, Needs 4.5:1) - Darkened background color of button to contrast with link text. (Current 3.79:1, Needs 4.5:1) - Darkened text color of code text to contrast with the background. (Current 3.99:1, Needs 4.5:1) - Darkened text color of copy to contrast with the link text. (Current 2.54, Needs 3:1) - Change heading font settings to Design Standards. Current: ![image](https://github.com/flutter/website/assets/706219/bf85e141-b2e8-4b21-a6fd-0c78f2c67f10) Changed: ![image](https://github.com/flutter/website/assets/706219/515d454e-e39f-4d1b-875d-0026373db12a) --------- Co-authored-by: Parker Lougheed <[email protected]>
This removed 68,838 errors. |
atsansone
added a commit
to atsansone/website
that referenced
this issue
Nov 14, 2023
Fixes flutter#9427 Staged: https://tony-flutter-site--docs-6warcibu.web.app This doesn't cover updates to the lexer colors. That will happen later. These changes: - Darkened text color to create the required contrast between body background. (Current 3.49:1, Needs 4.5:1) - Darkened background color of button to contrast with link text. (Current 3.79:1, Needs 4.5:1) - Darkened text color of code text to contrast with the background. (Current 3.99:1, Needs 4.5:1) - Darkened text color of copy to contrast with the link text. (Current 2.54, Needs 3:1) - Change heading font settings to Design Standards. Current: ![image](https://github.com/flutter/website/assets/706219/bf85e141-b2e8-4b21-a6fd-0c78f2c67f10) Changed: ![image](https://github.com/flutter/website/assets/706219/515d454e-e39f-4d1b-875d-0026373db12a) --------- Co-authored-by: Parker Lougheed <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
e2-days
Effort: < 5 days
infra.design
Relates to the design of docs.flutter.dev
infra.structure
Relates to the tools that create docs.flutter.dev
p1-high
Major but not urgent concern: Resolve in months. Update each month.
t.a11y
Relates to an accessibility concern
Five of fifteen colors in the _variables.scss match the Flutter branding guidelines. This results in multiple violations of WCAG 2.0 G18 and GAR criteria 1.4.
These colors should be updated to the proper color and contrast.
_buttons.scss
_banner.scss
_reboot.scss
_code.scss
_rfs.scss
The text was updated successfully, but these errors were encountered: