Skip to content

Commit

Permalink
feat(tokens): add new design tokens #137
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Dec 12, 2023
1 parent 8b23154 commit dd11027
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/color/border.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
"comment": "Deprecated token",
"reference": "n/a",
"version": "3.12.0"
},
"inverse": {
"value": "{color.brand.breeze.300.value}",
"public": true,
"inverse": true,
"usage": "Active border color on dark backgrounds",
"wcag": "n/a",
"deprecated": false
}
},
"error": {
Expand Down
30 changes: 30 additions & 0 deletions src/color/ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@
"comment": "Deprecated token",
"reference": "n/a",
"version": "3.12.0"
},
"inverse": {
"value": "{color.brand.breeze.200.value}",
"public": true,
"usage": "Active state color affordance on dark backgrounds",
"wcag": "AAA",
"deprecated": false
}
},
"disabled": {
Expand Down Expand Up @@ -146,6 +153,22 @@
}
},
"bkg": {
"default": {
"default": {
"value": "00000008",
"public": true,
"default": true,
"usage": "Default affordance for background colors",
"deprecated": false
},
"inverse": {
"value": "ffffff08",
"public": true,
"inverse": true,
"usage": "Default affordance for dark background colors",
"deprecated": false
}
},
"hover": {
"onDark": {
"value": "5de3f71a",
Expand Down Expand Up @@ -173,6 +196,13 @@
"default": true,
"usage": "Default hover affordance for background colors",
"deprecated": false
},
"inverse": {
"value": "ffffff0f",
"public": true,
"inverse": true,
"usage": "Default hover affordance for dark background colors",
"deprecated": false
}
}
}
Expand Down

0 comments on commit dd11027

Please sign in to comment.