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
56 changes: 28 additions & 28 deletions src/components/tokens/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
/**
* Do not edit directly
* Generated on Sat, 10 Aug 2024 08:37:35 GMT
* Generated on Mon, 12 Aug 2024 16:47:58 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 @@ -157,6 +148,15 @@
--breadcrumb-text-hover: #192125;
--block-quote-padding-x: 2rem;
--block-quote-padding-y: 0.5rem;
--background-default: #ffffff;
mariannuar marked this conversation as resolved.
Show resolved Hide resolved
--background-light: #9ce1ff;
--background-dark: #006089;
--heading-default: #0080b7;
--heading-light: #9ce1ff;
--heading-dark: #006089;
--icon-default: #0080b7;
--icon-dark: #00405b;
--icon-light: #9ce1ff;
--accordion-header: [object Object];
--accordion-p: [object Object];
--accordion-color-body: #00202e;
Expand Down Expand Up @@ -371,24 +371,24 @@
--token-set-order-0: global;
--token-set-order-1: semantic;
--token-set-order-2: components/accordion;
--token-set-order-3: components/blockQuote;
--token-set-order-4: components/breadcrumbs;
--token-set-order-5: components/button;
--token-set-order-6: components/card;
--token-set-order-7: components/checkbox;
--token-set-order-8: components/cta;
--token-set-order-9: components/fieldset;
--token-set-order-10: components/input;
--token-set-order-11: components/link;
--token-set-order-12: components/mainMenu;
--token-set-order-13: components/pager;
--token-set-order-14: components/radioButton;
--token-set-order-15: components/selectdropdown;
--token-set-order-16: components/status;
--token-set-order-17: components/table;
--token-set-order-18: components/tabs;
--token-set-order-19: components/textField;
--token-set-order-20: components/announcement;
--token-set-order-3: components/announcement;
--token-set-order-4: components/blockQuote;
--token-set-order-5: components/breadcrumbs;
--token-set-order-6: components/button;
--token-set-order-7: components/card;
--token-set-order-8: components/checkbox;
--token-set-order-9: components/cta;
--token-set-order-10: components/fieldset;
--token-set-order-11: components/input;
--token-set-order-12: components/link;
--token-set-order-13: components/mainMenu;
--token-set-order-14: components/pager;
--token-set-order-15: components/radioButton;
--token-set-order-16: components/selectdropdown;
--token-set-order-17: components/status;
--token-set-order-18: components/table;
--token-set-order-19: components/tabs;
--token-set-order-20: components/textField;
--token-set-order-21: storybook;
--emulsify-ui-kit-full: [object Object];
--emulsify-global: [object Object];
Expand Down
90 changes: 45 additions & 45 deletions src/tokens/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,50 @@
}
}
},
"components/announcement": {
"background": {
"default": {
"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"
}
}
},
"components/blockQuote": {
"blockQuote": {
"padding": {
Expand Down Expand Up @@ -2364,50 +2408,6 @@
}
}
},
"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 @@ -3150,6 +3150,7 @@
"global",
"semantic",
"components/accordion",
"components/announcement",
"components/blockQuote",
"components/breadcrumbs",
"components/button",
Expand All @@ -3167,7 +3168,6 @@
"components/table",
"components/tabs",
"components/textField",
"components/announcement",
"storybook"
]
}
Expand Down
120 changes: 60 additions & 60 deletions src/tokens/transformed.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,48 +21,6 @@
}
}
},
"background": {
"default-bkg": {
"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 @@ -806,6 +764,48 @@
}
}
},
"background": {
"default": {
"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"
}
},
"accordion": {
"header": {
"value": {
Expand Down Expand Up @@ -2362,75 +2362,75 @@
"type": "other"
},
"3": {
"value": "components/blockQuote",
"value": "components/announcement",
"type": "other"
},
"4": {
"value": "components/breadcrumbs",
"value": "components/blockQuote",
"type": "other"
},
"5": {
"value": "components/button",
"value": "components/breadcrumbs",
"type": "other"
},
"6": {
"value": "components/card",
"value": "components/button",
"type": "other"
},
"7": {
"value": "components/checkbox",
"value": "components/card",
"type": "other"
},
"8": {
"value": "components/cta",
"value": "components/checkbox",
"type": "other"
},
"9": {
"value": "components/fieldset",
"value": "components/cta",
"type": "other"
},
"10": {
"value": "components/input",
"value": "components/fieldset",
"type": "other"
},
"11": {
"value": "components/link",
"value": "components/input",
"type": "other"
},
"12": {
"value": "components/mainMenu",
"value": "components/link",
"type": "other"
},
"13": {
"value": "components/pager",
"value": "components/mainMenu",
"type": "other"
},
"14": {
"value": "components/radioButton",
"value": "components/pager",
"type": "other"
},
"15": {
"value": "components/selectdropdown",
"value": "components/radioButton",
"type": "other"
},
"16": {
"value": "components/status",
"value": "components/selectdropdown",
"type": "other"
},
"17": {
"value": "components/table",
"value": "components/status",
"type": "other"
},
"18": {
"value": "components/tabs",
"value": "components/table",
"type": "other"
},
"19": {
"value": "components/textField",
"value": "components/tabs",
"type": "other"
},
"20": {
"value": "components/announcement",
"value": "components/textField",
"type": "other"
},
"21": {
Expand Down