Skip to content

Commit

Permalink
Merge pull request #1790 from okta/ee/tokens-2-color
Browse files Browse the repository at this point in the history
Initialize Tokens 2.0
  • Loading branch information
edburyenegren-okta authored May 31, 2023
2 parents b81ce0d + a120774 commit 6eafaf9
Show file tree
Hide file tree
Showing 28 changed files with 502 additions and 481 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26 changes: 20 additions & 6 deletions packages/odyssey-design-tokens/src/border.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
{
"border": {
"width": {
"base": { "value": "1px" }
},
"style": {
"base": { "value": "solid" }
"color": {
"ui": { "value": "{hue.neutral.500.value}" },
"display": { "value": "{hue.neutral.200.value}" },
"disabled": { "value": "{hue.neutral.200.value}" },
"danger": {
"light": { "value": "{palette.danger.light.value}" },
"main": { "value": "{palette.danger.main.value}" },
"dark": { "value": "{palette.danger.dark.value}" }
},
"primary": {
"main": { "value": "{palette.primary.main.value}" },
"dark": { "value": "{palette.primary.dark.value}" }
}
},
"radius": {
"base": { "value": "4px" },
"main": { "value": "4px" },
"outer": { "value": "6px" }
},
"style": {
"main": { "value": "solid" }
},
"width": {
"main": { "value": "1px" }
}
}
}
28 changes: 0 additions & 28 deletions packages/odyssey-design-tokens/src/color/background.json

This file was deleted.

18 changes: 0 additions & 18 deletions packages/odyssey-design-tokens/src/color/border.json

This file was deleted.

27 changes: 0 additions & 27 deletions packages/odyssey-design-tokens/src/color/functional.json

This file was deleted.

134 changes: 0 additions & 134 deletions packages/odyssey-design-tokens/src/color/palette.json

This file was deleted.

27 changes: 0 additions & 27 deletions packages/odyssey-design-tokens/src/color/text.json

This file was deleted.

8 changes: 4 additions & 4 deletions packages/odyssey-design-tokens/src/focus.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"focus": {
"outline": {
"color": {
"primary": { "value": "{color.primary.base.value}" },
"danger": { "value": "{color.danger.base.value}" }
"primary": { "value": "{palette.primary.main.value}" },
"danger": { "value": "{palette.danger.main.value}" }
},
"offset": {
"base": { "value": "2px" },
"main": { "value": "2px" },
"tight": { "value": "0" }
},
"style": { "value": "solid" },
"width": {
"base": { "value": "2px" },
"main": { "value": "2px" },
"tight": { "value": "1px" }
}
}
Expand Down
60 changes: 0 additions & 60 deletions packages/odyssey-design-tokens/src/font.json

This file was deleted.

Loading

0 comments on commit 6eafaf9

Please sign in to comment.