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

feat: new brand styles #1764

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all 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
212 changes: 123 additions & 89 deletions packages/nlds-design-tokens/src/tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
{
"nlds": {
"color": {
"purple": {
"10": { "value": "#30003C" },
"90": { "value": "#F1B5FF" }
},
"blue": {
"10": { "value": "#001C35" },
"90": { "value": "#99CEFF" }
},
"orange": {
"10": { "value": "#251800" },
"90": { "value": "#FFB980" }
},
"green": {
"10": { "value": "#001B07" },
"90": { "value": "#B2F5A7" }
},
"pink": {
"10": { "value": "#1C0001" },
"90": { "value": "#FFB8BA" }
},
"grey": {
"10": { "value": "#111111" },
"90": { "value": "#E5E5E5" },
"100": { "value": "#FCFCFC" }
},
"link-blue": { "value": "#0234bf" }
},
"typography": {
"default": {
"font-family": { "value": "\"Source Sans Pro\"" }
Expand Down Expand Up @@ -46,8 +74,8 @@
"outline-offset": { "value": "0" }
},
"document": {
"background-color": { "value": "#ffffff" },
"color": { "value": "#0D1F2A" },
"background-color": { "value": "{nlds.color.grey.100}" },
"color": { "value": "{nlds.color.grey.10}" },
"inverse": {
"background-color": { "value": "#0D1F2A" },
"color": { "value": "#ffffff" }
Expand Down Expand Up @@ -97,18 +125,22 @@
"line-height": { "value": "1.5" }
},
"link": {
"color": { "value": "#006FA3" },
"color": { "value": "{nlds.color.link-blue}" },
"text-decoration-color": { "value": "#52757E" },
"text-underline-offset": { "value": "0.2em" },
"text-decoration-thickness": { "value": "max(1px, .0625rem)" },
"hover": {
"text-decoration-thickness": { "value": "max(1px, .1rem)" }
"text-decoration-thickness": { "value": "max(1px, .1rem)" },
"text-decoration": { "value": "underline" }
},
"focus": {
"background-color": { "value": "{nlds.focus.background-color}" },
"color": { "value": "{nlds.focus.color}" }
}
},
"link-list": {
"margin-block-start": { "value": "8px" }
},
"button": {
"color": { "value": "#0D1F2A" },
"font-weight": { "value": "600" },
Expand All @@ -127,26 +159,34 @@
"color": { "value": "{nlds.focus.color}" }
},
"primary-action": {
"border-color": { "value": "#148839" },
"background-color": { "value": "#148839" },
"color": { "value": "#ffffff" },
"hover": {},
"border-color": { "value": "{nlds.color.blue.90}" },
"background-color": { "value": "{nlds.color.blue.10}" },
"color": { "value": "{nlds.color.blue.90}" },
"hover": {
"background-color": { "value": "{nlds.color.green.10}" }
},
"focus": {
"background-color": { "value": "{nlds.focus.background-color}" },
"color": { "value": "{nlds.focus.color}" }
}
},
"secondary-action": {
"background-color": { "value": "#ffffff" },
"border-color": { "value": "#148839" },
"color": { "value": "#148839" },
"hover": {},
"background-color": { "value": "{nlds.color.grey.100}" },
"border-color": { "value": "{nlds.color.blue.10}" },
"border-width": { "value": "2px" },
"color": { "value": "{nlds.color.blue.10}" },
"hover": {
"background-color": { "value": "{nlds.color.blue.90}" }
},
"focus": {
"background-color": { "value": "{nlds.focus.background-color}" },
"color": { "value": "{nlds.focus.color}" }
}
},
"subtle": {
"hover": {
"background-color": { "value": "{nlds.color.grey.90}" }
},
"focus": {
"background-color": { "value": "{nlds.focus.background-color}" },
"color": { "value": "{nlds.focus.color}" }
Expand Down Expand Up @@ -219,34 +259,33 @@
"font-weight": { "value": "600" }
},
"heading-1": {
"font-size": { "value": "52px" },
"margin-block-start": { "value": "24px" },
"margin-block-end": { "value": "16px" },
"line-height": { "value": "59.8px" }
"font-size": { "value": "2.5rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"heading-2": {
"font-size": { "value": "36px" },
"margin-block-start": { "value": "48px" },
"font-size": { "value": "2rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"heading-3": {
"font-size": { "value": "28px" },
"margin-block-start": { "value": "40px" },
"font-size": { "value": "1.75rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"heading-4": {
"font-size": { "value": "24px" },
"margin-block-start": { "value": "32px" },
"font-size": { "value": "1.5rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"heading-5": {
"font-size": { "value": "20px" },
"margin-block-start": { "value": "24px" },
"font-size": { "value": "1.25rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"heading-6": {
"font-size": { "value": "18px" },
"margin-block-start": { "value": "20px" },
"font-size": { "value": "1rem" },
"margin-block-start": { "value": "16px" },
"margin-block-end": { "value": "16px" }
},
"unordered-list": {
Expand All @@ -263,23 +302,59 @@
"margin-block-start": { "value": "8px" }
}
},
"logo": {
"max-inline-size": { "value": "200px" }
},
"page": {
"padding-inline-start": { "value": "20px" },
"padding-inline-end": { "value": "20px" }
},
"page-header": {
"background-color": { "value": "{nlds.color.purple.10}" },
"color": { "value": "{nlds.color.grey.100}" }
},
"page-content": {
"padding-block-end": { "value": "48px" }
},
"page-body": {
"content": {
"padding-block-end": { "value": "40px" },
"padding-block-start": { "value": "40px" }
},
"background-color": { "value": "{nlds.color.grey.100}" },
"color": { "value": "{nlds.color.grey.10}" }
},
"page-footer": {
"background-color": { "value": "#0D1F2A" },
"color": { "value": "#ffffff" }
"background-color": { "value": "{nlds.color.purple.90}" },
"color": { "value": "{nlds.color.purple.10}" },
"padding-block-end": { "value": "16px" },
"padding-block-start": { "value": "16px" },
"padding-inline-end": { "value": "32px" },
"padding-inline-start": { "value": "32px" }
},
"spotlight-section": {
"background-color": { "value": "#d1dfe3" },
"background-color": { "value": "{nlds.color.grey.90}" },
"color": { "value": "{nlds.color.grey.10}" },
"padding-block-end": { "value": "16px" },
"padding-block-start": { "value": "16px" },
"padding-inline-end": { "value": "8px" },
"padding-inline-start": { "value": "8px" }
"padding-inline-start": { "value": "8px" },
"info": {
"background-color": { "value": "{nlds.color.blue.90}" },
"color": { "value": "{nlds.color.blue.10}" }
},
"ok": {
"background-color": { "value": "{nlds.color.green.90}" },
"color": { "value": "{nlds.color.green.10}" }
},
"warning": {
"background-color": { "value": "{nlds.color.orange.90}" },
"color": { "value": "{nlds.color.orange.10}" }
},
"error": {
"background-color": { "value": "{nlds.color.pink.90}" },
"color": { "value": "{nlds.color.pink.10}" }
}
},
"table": {
"border-color": { "value": "#D1DFE3" },
Expand Down Expand Up @@ -338,65 +413,24 @@
}
}
},
"ifm": {
"color": {
"primary": { "value": "#00303d" },
"primary-dark": { "value": "#00303d" },
"primary-darker": { "value": "#00303d" },
"primary-darkest": { "value": "#00303d" },
"primary-light": { "value": "#33925d" },
"primary-lighter": { "value": "#359962" },
"primary-lightest": { "value": "#3cad6e" }
},
"background-color": { "value": "{utrecht.document.background-color}" },
"code": {
"font-size": { "value": "95%" },
"border-radius": { "value": "0" }
},
"heading": {
"font-weight": { "value": "{utrecht.heading.font-weight}" },
"font-family": { "value": "{utrecht.heading.font-family}" }
},
"h1": {
"font-size": { "value": "{utrecht.heading-1.font-size}" }
},
"footer": {
"padding-vertical": { "value": "0" },
"padding-horizontal": { "value": "0" },
"background-color": { "value": "{utrecht.page-footer.background-color}" },
"color": { "value": "{utrecht.page-footer.color}" },
"link": {
"hover": {
"color": { "value": "{utrecht.link.color}" }
}
}
},
"font-weight": {
"semibold": { "value": "600" },
"bold": { "value": "600" }
},
"font-family": {
"base": { "value": "{utrecht.document.font-family}" }
},
"link": {
"color": { "value": "{nlds.interaction.color}" },
"decoration": { "value": "underline" }
},
"button": {
"color": { "value": "{utrecht.button.color}" },
"font-weight": { "value": "{utrecht.button.font-weight}" },
"border-radius": { "value": "{utrecht.button.border-radius}" },
"padding-vertical": { "value": "{utrecht.button.padding-block-start}" },
"padding-horizontal": { "value": "{utrecht.button.padding-inline-start}" }
},
"navbar": {
"background-color": { "value": "#00303d" },
"padding-vertical": { "value": "0" },
"link": {
"hover": {
"color": { "value": "#ffffff" }
}
}
"kernteam": {
"announcement-bar": {
"border-color": { "value": "{nlds.color.grey.90}" },
"border-block-end-width": { "value": "2px" }
},
"author": {
"border-color": { "value": "{nlds.color.grey.90}" },
"border-width": { "value": "2px" },
"border-radius": { "value": "4px" },
"gap": { "value": "2ch" }
}
},
"denhaag": {
"sidenav": {
"min-width": { "value": "240px" },
"display": { "value": "flex" },
"flex-direction": { "value": "column" },
"row-gap": { "value": "16px" }
}
}
}