1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* clincalc docs palette.
*
* Brand colour is a deep clinical teal - deliberately not NHS Blue, to avoid
* any chance of confusion with NHS England's protected identity (which has
* historically been weaponised against open health-tech projects; see
* https://openhealthhub.org/t/nhos-closedown-the-final-straw/1385). Teal sits
* in a different hue family so no plausible screenshot mistakes it for NHS
* Blue at any size.
*
* --clincalc-teal deep teal for link text / accents on white (passes WCAG AA)
* --clincalc-teal-bright lifted teal for dark-mode links on slate
* --clincalc-teal-dark reserved for future hover / pressed states
*
* The header chrome itself stays neutral (white in light mode, near-black in
* dark) via the `primary: white` / `primary: black` palette entries in
* mkdocs.yml; teal reads as an *accent* on links and the brand mark rather
* than washing the whole header.
*/
}
}
}
/*
* The logo SVG ships with `fill="currentColor"`, so we pick the colour per
* scheme. The header is white/near-black, so the logo wants the same colour
* as accent links to read as one palette.
*/
}
}