Et fleksibelt fargesystem
Fargesystemet består av globale farger som refererer til hva fargen er (eks. red-1) og et semantisk nivå som beskriver hva fargen skal brukes til (eks. Text.Danger).
Navnestruktur
Et semantisk fargenavn er bygget opp av 3 ledd:
farge - stryke - vekt
- Background: Som regel bakgrunnen på hele siden (HTML body).
- Surface: Bakgrunnsfargen til en ting. Eks. et panel, en knapp, en seksjon, etc.
- Border: Fargen til en ramme (stroke).
- Text/Icon: Fargen på tekst og ikoner.
Farge-tokens
Color
Accent
Background Default
#fefeff
Background Subtle
#eef4fa
Surface Default
#d1e3f3
Surface Hover
#bad5ec
Surface Active
#a1c5e5
Border Subtle
#97bfe3
Border Default
#3885c9
Border Strong
#014e93
Base Default
#0163ba
Base Hover
#015097
Base Active
#013f75
Text Subtle
#0163ba
Text Default
#002d54
Contrast Default
#ffffff
Contrast Subtle
#dbe9f5
Neutral
Background Default
#fefefe
Background Subtle
#f3f4f5
Surface Default
#e1e3e5
Surface Hover
#ced1d4
Surface Active
#bdc1c6
Border Subtle
#b8bcc1
Border Default
#7a818c
Border Strong
#444e5d
Base Default
#1e2b3c
Base Hover
#303c4b
Base Active
#444e5d
Text Subtle
#5b6471
Text Default
#202c3d
Contrast Default
#ffffff
Contrast Subtle
#bbbfc4
Brand1
Background Default
#fffefe
Background Subtle
#fef0f1
Surface Default
#fcdbdc
Surface Hover
#fbc4c5
Surface Active
#f9acae
Border Subtle
#f8a5a7
Border Default
#d95558
Border Strong
#833336
Base Default
#f35f63
Base Hover
#d05255
Base Active
#af4547
Text Subtle
#a74144
Text Default
#4b1e1f
Contrast Default
#000000
Contrast Subtle
#000000
Brand2
Background Default
#fffefc
Background Subtle
#fbf3e0
Surface Default
#f5dfad
Surface Hover
#f0ce7f
Surface Active
#e9ba4c
Border Subtle
#e7b43d
Border Default
#a57a17
Border Strong
#63490e
Base Default
#e4a920
Base Hover
#c9951c
Base Active
#af8119
Text Subtle
#7e5d12
Text Default
#382a08
Contrast Default
#000000
Contrast Subtle
#2b2006
Brand3
Background Default
#fdfeff
Background Subtle
#eaf6fe
Surface Default
#c8e6fd
Surface Hover
#a9d7fb
Surface Active
#84c7fa
Border Subtle
#7ac2f9
Border Default
#1a85d6
Border Strong
#105082
Base Default
#1e98f5
Base Hover
#1a83d3
Base Active
#166eb2
Text Subtle
#1466a5
Text Default
#092e4b
Contrast Default
#000000
Contrast Subtle
#010407
Success
Background Default
#fcfefc
Background Subtle
#edf6ee
Surface Default
#d1e9d4
Surface Hover
#b5dbba
Surface Active
#96cd9e
Border Subtle
#8fc997
Border Default
#229532
Border Strong
#045a10
Base Default
#068718
Base Hover
#057014
Base Active
#045a10
Text Subtle
#057315
Text Default
#023409
Contrast Default
#ffffff
Contrast Subtle
#f9fcf9
Danger
Background Default
#fffefe
Background Subtle
#fbf1f1
Surface Default
#f5dcdc
Surface Hover
#f0c7c7
Surface Active
#eab3b3
Border Subtle
#e8acac
Border Default
#d25b5b
Border Strong
#9a1616
Base Default
#C01B1B
Base Hover
#9c1616
Base Active
#791111
Text Subtle
#c22020
Text Default
#5a0d0d
Contrast Default
#ffffff
Contrast Subtle
#f7e1e1
Info
Background Default
#fefeff
Background Subtle
#edf5fa
Surface Default
#d3e5f4
Surface Hover
#b7d5ed
Surface Active
#9bc5e5
Border Subtle
#94c1e3
Border Default
#2f86c9
Border Strong
#075089
Base Default
#0A71C0
Base Hover
#085e9f
Base Active
#074a7f
Text Subtle
#0966ac
Text Default
#042d4d
Contrast Default
#ffffff
Contrast Subtle
#edf5fa
Warning
Background Default
#fffefd
Background Subtle
#f9f4e2
Surface Default
#efe2b3
Surface Hover
#e5d183
Surface Active
#dcbf53
Border Subtle
#d9b945
Border Default
#987f22
Border Strong
#5c4c14
Base Default
#B8581D
Base Hover
#984918
Base Active
#7a3b13
Text Subtle
#9e4b19
Text Default
#47220b
Contrast Default
#ffffff
Contrast Subtle
#fdfbf9
Focus
Inner
#fefefe
Outer
#002d54