Colors
Colors are split into primitives, which hold the values, and semantic tokens, which say where each color is used. Components only use semantic tokens, which is how the dark theme works without changing any component.
Primitives
Cyan is the main brand color, pink is the secondary and gray handles text, backgrounds and borders.
cyan
- 50#edfbfc
- 100#d9f6f8
- 200#adebf0
- 300#73dde5
- 400#33cdd9
- 500#00c1cf
- 600#00a3af
- 700#00828c
- 800#00656e
- 900#004f57
- 950#00383f
pink
- 50#fff0f4
- 100#ffdee7
- 200#ffb8cc
- 300#fe85a8
- 400#fe4e80
- 500#fe2260
- 600#d61c52
- 700#a91542
- 800#830f34
- 900#660b2a
- 950#47061e
gray
- 0#ffffff
- 50#f9fafb
- 100#f3f4f6
- 200#e5e7eb
- 300#d1d5dc
- 400#99a1af
- 500#6a7282
- 600#4a5565
- 700#364153
- 800#1e2939
- 900#101828
- 950#030712
Semantic
Each token points to one primitive in the light theme and another in the dark theme. The swatches below use the site's real variables.
| Token | Light | Dark | CSS |
|---|---|---|---|
| text/strong | --oi-text-strong | ||
| text/sub | --oi-text-sub | ||
| text/soft | --oi-text-soft | ||
| text/disabled | --oi-text-disabled | ||
| text/white | --oi-text-white | ||
| background/white | --oi-bg-white | ||
| background/soft | --oi-bg-soft | ||
| background/weak | --oi-bg-weak | ||
| background/strong | --oi-bg-strong | ||
| background/inverse | --oi-bg-inverse | ||
| background/inverse-strong | --oi-bg-inverse-strong | ||
| stroke/soft | --oi-stroke-soft | ||
| stroke/sub | --oi-stroke-sub | ||
| stroke/strong | --oi-stroke-strong | ||
| stroke/hover | --oi-stroke-hover | ||
| icons/strong | --oi-icons-strong | ||
| icons/sub | --oi-icons-sub | ||
| icons/soft | --oi-icons-soft | ||
| icons/disabled | --oi-icons-disabled | ||
| primary/lighter | --oi-primary-lighter | ||
| primary/light | --oi-primary-light | ||
| primary/highlight | --oi-primary-highlight | ||
| primary/base | --oi-primary-base | ||
| primary/dark | --oi-primary-dark | ||
| primary/shade | --oi-primary-shade | ||
| primary/text | --oi-primary-text | ||
| primary/on-base | --oi-primary-on-base | ||
| secondary/lighter | --oi-secondary-lighter | ||
| secondary/light | --oi-secondary-light | ||
| secondary/base | --oi-secondary-base | ||
| secondary/dark | --oi-secondary-dark | ||
| secondary/text | --oi-secondary-text | ||
| success/light | --oi-success-light | ||
| success/main | --oi-success-main | ||
| error/light | --oi-error-light | ||
| error/main | --oi-error-main | ||
| warning/light | --oi-warning-light | ||
| warning/main | --oi-warning-main |

