Design system doc out of date on colour: --link, dark accents and WG label colours missing

Open
#2,247 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
css, html

Research direction

Start with docs/design-system.md and compare its colour tokens with assets/css/site.css; update the link, dark theme, Working Group colours and headline token described in the issue. Check the pressed .members-filter-chip and unclassed .wg-chip contrast in a browser at desktop and phone widths, and refresh the PDF colour pages at the next minor release. Done when the docs match the current CSS and the chip text meets 4.5:1 contrast where needed.

Written by the indexing model from the issue text.

Description

documentation

What's happening

docs/design-system.md no longer matches assets/css/site.css on colour. The token table lists --accent-2 (#0a84ff) as the hyperlink colour, but links have used --link (#0b6bcb light, #82b7ff dark) since #1773, and the doc never mentions --link. It says the dark theme keeps --accent and --accent-2 identical, but .dark sets them to #6ea1ff and #82b7ff. It has no row for the Working Group colours as they now stand (--wg-1 #0973de, --wg-2 #10b981, --wg-3 #8457ea, --wg-4 #f59e0b) or for the --wg-1-ink to --wg-4-ink label colours added in #1248 and #1774. The typography section still calls the colour-split headline span "accent-blue (#0a84ff)".

Separately, the pressed .members-filter-chip sets white text on linear-gradient(135deg, var(--accent), var(--accent-2)). White measures 6.2:1 at the gradient's midpoint, 4.25:1 at 85% and 3.65:1 at the #0a84ff end, so the last letters of a longer label may fall under 4.5:1. The unclassed .wg-chip fallback uses the same gradient under white text.

Why it matters

The doc is what contributors and Claude sessions read before touching colour. As written it tells them to use #0a84ff for link text, which is the 3.43:1 failure #1773 fixed, and it undercounts the dark-theme changes. The chip gradient is a possible residual of the #1774 contrast pass.

Fix path

  1. docs/design-system.md: add --link to the colour table with its light and dark values and the note from site.css (Apple blue stays a surface and brand colour, --link carries text). Correct the dark-theme sentence. Add a Working Group table with the four hues and their -ink label colours, citing #1248 and #1774. Change the colour-split headline line to name the token the span actually uses.
  2. Measure the pressed filter chip and the unclassed .wg-chip in a browser at desktop and phone width (getComputedStyle plus the text's bounding box over the gradient). If any glyph sits under 4.5:1, end the gradient at --link instead of --accent-2.
  3. Refresh the colour pages of docs/pdf/documentation.html (#0a84ff is listed as the link colour there too) at the next minor release, per §11.
  4. Spot-check the Wiki How-tos page for the same link-colour wording.

Target

v1.16.0


Generated by Claude Code

Dominant language
HTML
Stars
1
Forks
1
Avg merge
1h 19m
Merged PRs (30d)
163

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EISSeuropa/netsec.github.io

All issues in EISSeuropa/netsec.github.io

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.