Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions components/src/DesignTokens/DesignTokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,12 @@ Type sizes and paragraph styles are designed to match the typography on [swr.de]
## Colours
### Shades
<ColorPalette>
{["violet", "plum", "pink", "red", "orange", "yellow", "apple" , "forest","teal", "blue", "gray"].map((el, i) => {
{["violet", "plum", "pink", "red", "orange", "yellow", "apple" , "forest", "teal", "blue", "gray"].map((el, i) => {
return(
<ColorItem
title={`${el.split("")[0].toUpperCase()}${el.slice(1)}`}
colors={shades[el]}
/>
)
/>)
})}
</ColorPalette>

Expand Down
8 changes: 4 additions & 4 deletions components/src/DesignTokens/Tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ const shades: ColourMap = {
dark5: '#005163'
},
yellow: {
light1: '#FFFDB2',
light2: '#FEF67C',
light5: '#FFFDB2',
light4: '#FEF67C',
light3: '#FDEF3E',
light4: '#FAE617',
light5: '#F5DF13',
light2: '#FAE617',
light1: '#F5DF13',
base: '#EFD710',
dark1: '#E3CA0D',
dark2: '#DCC10A',
Expand Down