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

Design tokens for the Announcement component #139

Merged
merged 10 commits into from
Aug 12, 2024
14 changes: 12 additions & 2 deletions src/components/tokens/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
/**
* Do not edit directly
* Generated on Thu, 08 Aug 2024 21:29:15 GMT
* Generated on Sat, 10 Aug 2024 08:37:35 GMT
*/

:root {
--colors-sb-background: #ffffff;
--colors-sb-text-body: #00202e;
--colors-sb-text-heading: #0080b7;
--colors-sb-visualization: #009fe4;
--background-default-bkg: #ffffff;
--background-light: #9ce1ff;
--background-dark: #006089;
--heading-default: #0080b7;
--heading-light: #9ce1ff;
--heading-dark: #006089;
--icon-default: #0080b7;
--icon-dark: #00405b;
--icon-light: #9ce1ff;
--text-field-border-width: 1px;
--text-field-radius: 0.625rem;
--text-field-border: [object Object];
Expand Down Expand Up @@ -379,7 +388,8 @@
--token-set-order-17: components/table;
--token-set-order-18: components/tabs;
--token-set-order-19: components/textField;
--token-set-order-20: storybook;
--token-set-order-20: components/announcement;
--token-set-order-21: storybook;
--emulsify-ui-kit-full: [object Object];
--emulsify-global: [object Object];
--emulsify-semantic: [object Object];
Expand Down
57 changes: 49 additions & 8 deletions src/tokens/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2364,6 +2364,50 @@
}
}
},
"components/announcement": {
"background": {
"default-bkg": {
"value": "{color.white}",
"type": "color"
},
"light": {
"value": "{color.primary.lighter}",
"type": "color"
},
"dark": {
"value": "{color.primary.darker}",
"type": "color"
}
},
"heading": {
"default": {
"value": "{color.primary.dark}",
"type": "color"
},
"light": {
"value": "{color.primary.lighter}",
"type": "color"
},
"dark": {
"value": "{color.primary.darker}",
"type": "color"
}
},
"icon": {
"default": {
"value": "{color.primary.dark}",
"type": "color"
},
"dark": {
"value": "{color.link-hover-lighter}",
"type": "color"
},
"light": {
"value": "{color.primary.lighter}",
"type": "color"
}
}
},
"storybook": {
"colors": {
"sb": {
Expand Down Expand Up @@ -2814,8 +2858,7 @@
"name": "Emulsify Global",
"$figmaStyleReferences": {},
"selectedTokenSets": {
"global": "enabled",
"semantic": "disabled"
"global": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:23237:17089",
"$figmaModeId": "23237:11",
Expand Down Expand Up @@ -2889,8 +2932,7 @@
"name": "Emulsify Storybook only",
"$figmaStyleReferences": {},
"selectedTokenSets": {
"storybook": "source",
"semantic": "disabled"
"storybook": "source"
},
"$figmaCollectionId": "VariableCollectionId:23237:17144",
"$figmaModeId": "23237:13",
Expand Down Expand Up @@ -2918,8 +2960,7 @@
"components/status": "enabled",
"components/table": "enabled",
"components/tabs": "enabled",
"components/textField": "enabled",
"semantic": "disabled"
"components/textField": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:23237:17145",
"$figmaModeId": "23237:14",
Expand Down Expand Up @@ -3099,8 +3140,7 @@
"components/status": "enabled",
"components/table": "enabled",
"components/tabs": "enabled",
"components/textField": "enabled",
"semantic": "disabled"
"components/textField": "enabled"
},
"group": "WUP"
}
Expand All @@ -3127,6 +3167,7 @@
"components/table",
"components/tabs",
"components/textField",
"components/announcement",
"storybook"
]
}
Expand Down
58 changes: 50 additions & 8 deletions src/tokens/transformed.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,48 @@
}
}
},
"background": {
"default-bkg": {
mariannuar marked this conversation as resolved.
Show resolved Hide resolved
"value": "#ffffff",
"type": "color"
},
"light": {
"value": "#9ce1ff",
"type": "color"
},
"dark": {
"value": "#006089",
"type": "color"
}
},
"heading": {
"default": {
"value": "#0080b7",
"type": "color"
},
"light": {
"value": "#9ce1ff",
"type": "color"
},
"dark": {
"value": "#006089",
"type": "color"
}
},
"icon": {
"default": {
"value": "#0080b7",
"type": "color"
},
"dark": {
"value": "#00405b",
"type": "color"
},
"light": {
"value": "#9ce1ff",
"type": "color"
}
},
"textField": {
"borderWidth": {
"value": 1,
Expand Down Expand Up @@ -2388,6 +2430,10 @@
"type": "other"
},
"20": {
"value": "components/announcement",
"type": "other"
},
"21": {
"value": "storybook",
"type": "other"
}
Expand Down Expand Up @@ -2817,8 +2863,7 @@
"id": "0a5c4562bd35f00ce8a339239980a3842147c0bd",
"$figmaStyleReferences": {},
"selectedTokenSets": {
"global": "enabled",
"semantic": "disabled"
"global": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:23237:17089",
"$figmaModeId": "23237:11",
Expand Down Expand Up @@ -2894,8 +2939,7 @@
"id": "16a10d373d39988a75c7d612cd449a633f373c44",
"$figmaStyleReferences": {},
"selectedTokenSets": {
"storybook": "source",
"semantic": "disabled"
"storybook": "source"
},
"$figmaCollectionId": "VariableCollectionId:23237:17144",
"$figmaModeId": "23237:13",
Expand Down Expand Up @@ -2924,8 +2968,7 @@
"components/status": "enabled",
"components/table": "enabled",
"components/tabs": "enabled",
"components/textField": "enabled",
"semantic": "disabled"
"components/textField": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:23237:17145",
"$figmaModeId": "23237:14",
Expand Down Expand Up @@ -3107,8 +3150,7 @@
"components/status": "enabled",
"components/table": "enabled",
"components/tabs": "enabled",
"components/textField": "enabled",
"semantic": "disabled"
"components/textField": "enabled"
},
"group": "WUP",
"type": "other",
Expand Down