Skip to content

Commit

Permalink
feat(data): update nav colours by moving the root colours to a menu f…
Browse files Browse the repository at this point in the history
…older, then adding 2 new colour tokens to nav.subtle and 2 new to the nav.harsh.
  • Loading branch information
clairedenning committed Jan 8, 2024
1 parent b5e3bbc commit 9d5db77
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions data/tokens/Components/nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"nav": {
"subtle": {
"bg-default": {
"value": "{base.color.generic.bg.standard.delicate}",
"value": "{base.color.generic.bg.standard.nought}",
"type": "color"
},
"bg-alt": {
"value": "{base.color.generic.bg.standard.soft}",
"value": "{base.color.generic.bg.standard.delicate}",
"type": "color"
},
"item": {
Expand Down Expand Up @@ -46,15 +46,25 @@
"value": "{base.color.interactive.monochrome.standard.defaultAlt}",
"type": "color"
}
},
"menu": {
"bg-default": {
"value": "{base.color.generic.bg.standard.delicate}",
"type": "color"
},
"bg-alt": {
"value": "{base.color.generic.bg.standard.soft}",
"type": "color"
}
}
},
"harsh": {
"bg-default": {
"value": "{base.color.generic.bg.inverse.harsh}",
"value": "{base.color.generic.bg.inverse.nought}",
"type": "color"
},
"bg-alt": {
"value": "{base.color.generic.bg.inverse.firm}",
"value": "{base.color.generic.bg.inverse.delicate}",
"type": "color"
},
"item": {
Expand Down Expand Up @@ -94,6 +104,16 @@
"value": "{base.color.interactive.monochrome.inverse.defaultAlt}",
"type": "color"
}
},
"menu": {
"bg-default": {
"value": "{base.color.generic.bg.inverse.harsh}",
"type": "color"
},
"bg-alt": {
"value": "{base.color.generic.bg.inverse.firm}",
"type": "color"
}
}
}
}
Expand Down

0 comments on commit 9d5db77

Please sign in to comment.