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 f7f71aa
Show file tree
Hide file tree
Showing 2 changed files with 41 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": false,
"onDark": true,
"usage": "Active border color on dark backgrounds",
"wcag": "n/a",
"deprecated": true
}
},
"error": {
Expand Down
33 changes: 33 additions & 0 deletions src/color/ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@
"comment": "Deprecated token",
"reference": "n/a",
"version": "3.12.0"
},
"inverse": {
"value": "{color.brand.breeze.200.value}",
"public": false,
"usage": "Active state color affordance on dark backgrounds",
"wcag": "AAA",
"deprecated": true,
"comment": "Deprecated token",
"reference": "n/a",
"version": "3.12.0"
}
},
"disabled": {
Expand Down Expand Up @@ -146,6 +156,22 @@
}
},
"bkg": {
"default": {
"default": {
"value": "00000008",
"public": true,
"default": true,
"usage": "Default affordance for background colors",
"deprecated": false
},
"inverse": {
"value": "ffffff08",
"public": true,
"default": true,
"usage": "Default affordance for dark background colors",
"deprecated": false
}
},
"hover": {
"onDark": {
"value": "5de3f71a",
Expand Down Expand Up @@ -173,6 +199,13 @@
"default": true,
"usage": "Default hover affordance for background colors",
"deprecated": false
},
"inverse": {
"value": "ffffff0f",
"public": true,
"default": true,
"usage": "Default affordance for background colors",
"deprecated": false
}
}
}
Expand Down

0 comments on commit f7f71aa

Please sign in to comment.