Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize Tokens 2.0 #1790

Merged
merged 10 commits into from
May 31, 2023
Merged
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 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file consolidates all border tokens.

"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