Skip to content

Colour ​

Colours are named for what they do: a surface, a border, text, the brand, a status.

Semantic colours ​

Each one is a utility with the usual prefix: bg-surface-page, border-border, text-text-muted. The components colour with nothing else, and an app should not either.

Each colour has a light and a dark value. The page follows the system's mode, or data-theme="light" or "dark" on any element, for that element and everything in it.

ColourLightDark
surface-page #F1F0ED #13110E
surface-raised #FFFFFF #22201C
surface-selected #FFFFFF #3B3934
border #E6E4E1 #3B3934
border-strong #D3D1CD #55524D
border-control #888580 #6E6B66
border-control-hover #6E6B66 #888580
text #22201C #FBFAF8
text-muted #6E6B66 #BDBAB5
text-subtle #888580 #A2A09B
text-placeholder #A2A09B #888580
brand #FFC200 #FFC200
brand-ink #8B6800 #FFCC4C
brand-subtle #FFF8EA #3B2B01
text-on-brand #22201C #22201C
danger-strong #A64C45 #A64C45
text-on-danger #FFFFFF #FFFFFF
danger #C2685F #DC857B
danger-ink #85362F #F3A299
danger-subtle #F9EDEB #4C3832
warning #BD6F40 #D78B60
warning-ink #813C09 #EEA881
warning-subtle #F8EDE8 #4B392D
success #559858 #73B275
success-ink #226228 #93CC94
success-subtle #EAF2EA #364131
info #4A8AC9 #69A5E2
info-ink #16558D #8AC0F7
info-subtle #E9F1F9 #343F48
backdrop #13110E at 20% #13110E at 50%

Palette ​

The ramps the semantic colours are drawn from. They have no utilities, so that colour is always chosen by purpose.

ink
  1. 50 #FBFAF8
  2. 100 #F1F0ED
  3. 200 #E6E4E1
  4. 300 #D3D1CD
  5. 400 #BDBAB5
  6. 500 #A2A09B
  7. 600 #888580
  8. 700 #6E6B66
  9. 800 #55524D
  10. 900 #3B3934
  11. 950 #22201C
  12. 975 #13110E
amber
  1. 50 #FFF8EA
  2. 100 #FEEFCF
  3. 200 #FEE3A9
  4. 300 #FFD77B
  5. 400 #FFCC4C
  6. 500 #FFC200
  7. 600 #DDA804
  8. 700 #B78B01
  9. 800 #8B6800
  10. 900 #5B4400
  11. 950 #3B2B01
danger
  1. 50 #FFF8F8
  2. 100 #FEEBE9
  3. 200 #FDDCD7
  4. 300 #FBC2BA
  5. 400 #F3A299
  6. 500 #DC857B
  7. 600 #C2685F
  8. 700 #A64C45
  9. 800 #85362F
  10. 900 #5E241F
  11. 950 #39120F
  12. 975 #220806
warning
  1. 50 #FEF9F6
  2. 100 #FDECE4
  3. 200 #FBDECF
  4. 300 #F7C6AB
  5. 400 #EEA881
  6. 500 #D78B60
  7. 600 #BD6F40
  8. 700 #A15422
  9. 800 #813C09
  10. 900 #5C2904
  11. 950 #371601
  12. 975 #210A00
success
  1. 50 #F7FBF7
  2. 100 #E8F4E8
  3. 200 #D6ECD5
  4. 300 #B7DEB7
  5. 400 #93CC94
  6. 500 #73B275
  7. 600 #559858
  8. 700 #387D3D
  9. 800 #226228
  10. 900 #15441A
  11. 950 #09280C
  12. 975 #031705
info
  1. 50 #F7FBFF
  2. 100 #E6F2FE
  3. 200 #D2E7FE
  4. 300 #B1D6FD
  5. 400 #8AC0F7
  6. 500 #69A5E2
  7. 600 #4A8AC9
  8. 700 #2C6FAE
  9. 800 #16558D
  10. 900 #0C3B64
  11. 950 #04213D
  12. 975 #011225