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 Header component #147

Merged
merged 5 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions src/components/tokens/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 12 Aug 2024 17:38:58 GMT
* Generated on Sat, 17 Aug 2024 18:21:06 GMT
*/

:root {
Expand Down Expand Up @@ -88,6 +88,8 @@
--input-radius: 0.25rem;
--input-label-lineheight: 125%;
--input-bkg: #ffffff;
--header-search-background: #006089;
--header-search-text-icon: #ffffff;
--fieldset-color-bg: white;
--fieldset-color-border: #a9afb1;
--fieldset-color-label: #00202e;
Expand Down Expand Up @@ -379,17 +381,18 @@
--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;
--token-set-order-11: components/header;
--token-set-order-12: components/input;
--token-set-order-13: components/link;
--token-set-order-14: components/mainMenu;
--token-set-order-15: components/pager;
--token-set-order-16: components/radioButton;
--token-set-order-17: components/selectdropdown;
--token-set-order-18: components/status;
--token-set-order-19: components/table;
--token-set-order-20: components/tabs;
--token-set-order-21: components/textField;
--token-set-order-22: storybook;
--emulsify-ui-kit-full: [object Object];
--emulsify-global: [object Object];
--emulsify-semantic: [object Object];
Expand Down
15 changes: 15 additions & 0 deletions src/tokens/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1971,6 +1971,20 @@
}
}
},
"components/header": {
"header": {
"search": {
"background": {
"value": "{color.primary.darker}",
"type": "color"
},
"text-icon": {
"value": "{color.text.white}",
"type": "color"
}
}
}
},
"components/input": {
"input": {
"gap": {
Expand Down Expand Up @@ -3160,6 +3174,7 @@
"components/checkbox",
"components/cta",
"components/fieldset",
"components/header",
"components/input",
"components/link",
"components/mainMenu",
Expand Down
36 changes: 26 additions & 10 deletions src/tokens/transformed.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,18 @@
"type": "color"
}
},
"header": {
"search": {
"background": {
"value": "#006089",
"type": "color"
},
"text-icon": {
"value": "#ffffff",
"type": "color"
}
}
},
"fieldset": {
"color": {
"bg": {
Expand Down Expand Up @@ -2396,46 +2408,50 @@
"type": "other"
},
"11": {
"value": "components/input",
"value": "components/header",
"type": "other"
},
"12": {
"value": "components/link",
"value": "components/input",
"type": "other"
},
"13": {
"value": "components/mainMenu",
"value": "components/link",
"type": "other"
},
"14": {
"value": "components/pager",
"value": "components/mainMenu",
"type": "other"
},
"15": {
"value": "components/radioButton",
"value": "components/pager",
"type": "other"
},
"16": {
"value": "components/selectdropdown",
"value": "components/radioButton",
"type": "other"
},
"17": {
"value": "components/status",
"value": "components/selectdropdown",
"type": "other"
},
"18": {
"value": "components/table",
"value": "components/status",
"type": "other"
},
"19": {
"value": "components/tabs",
"value": "components/table",
"type": "other"
},
"20": {
"value": "components/textField",
"value": "components/tabs",
"type": "other"
},
"21": {
"value": "components/textField",
"type": "other"
},
"22": {
"value": "storybook",
"type": "other"
}
Expand Down