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

Testing new color system #2542

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
512 changes: 511 additions & 1 deletion apps/storefront/tokens/altinn/dark.ts

Large diffs are not rendered by default.

540 changes: 525 additions & 15 deletions apps/storefront/tokens/altinn/light.ts

Large diffs are not rendered by default.

514 changes: 512 additions & 2 deletions apps/storefront/tokens/digdir/dark.ts

Large diffs are not rendered by default.

514 changes: 512 additions & 2 deletions apps/storefront/tokens/digdir/light.ts

Large diffs are not rendered by default.

514 changes: 512 additions & 2 deletions apps/storefront/tokens/portal/dark.ts

Large diffs are not rendered by default.

540 changes: 525 additions & 15 deletions apps/storefront/tokens/portal/light.ts

Large diffs are not rendered by default.

514 changes: 512 additions & 2 deletions apps/storefront/tokens/uutilsynet/dark.ts

Large diffs are not rendered by default.

542 changes: 526 additions & 16 deletions apps/storefront/tokens/uutilsynet/light.ts

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion design-tokens/$metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
"themes/theme3",
"themes/theme4",
"semantic/color",
"semantic/colors/primary/dominant",
"semantic/colors/primary/complimentary",
"semantic/colors/primary/accent",
"semantic/colors/support/support1",
"semantic/colors/support/support2",
"semantic/colors/support/support3",
"semantic/style",
"Figma/components"
]
}
}
3,221 changes: 1,852 additions & 1,369 deletions design-tokens/$themes.json

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions design-tokens/primitives/modes/colors/dark/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,130 @@
"$type": "color",
"$value": "#fafcfd"
}
},
"dominant": {
"1": {
"$type": "color",
"$value": "#231a05"
},
"2": {
"$type": "color",
"$value": "#2d2206"
},
"3": {
"$type": "color",
"$value": "#3d2e09"
},
"4": {
"$type": "color",
"$value": "#4f3a0b"
},
"5": {
"$type": "color",
"$value": "#60470e"
},
"6": {
"$type": "color",
"$value": "#694d0f"
},
"7": {
"$type": "color",
"$value": "#8e6914"
},
"8": {
"$type": "color",
"$value": "#e8b744"
},
"9": {
"$type": "color",
"$value": "#523c0b"
},
"10": {
"$type": "color",
"$value": "#694d0f"
},
"11": {
"$type": "color",
"$value": "#826112"
},
"12": {
"$type": "color",
"$value": "#d09a1d"
},
"13": {
"$type": "color",
"$value": "#f5dfad"
},
"contrast-1": {
"$type": "color",
"$value": "#ffffff"
},
"contrast-2": {
"$type": "color",
"$value": "#ddd9cf"
}
},
"complimentary": {
"1": {
"$type": "color",
"$value": "#2f1213"
},
"2": {
"$type": "color",
"$value": "#3e1819"
},
"3": {
"$type": "color",
"$value": "#522022"
},
"4": {
"$type": "color",
"$value": "#68292b"
},
"5": {
"$type": "color",
"$value": "#7f3234"
},
"6": {
"$type": "color",
"$value": "#8b3639"
},
"7": {
"$type": "color",
"$value": "#bc494c"
},
"8": {
"$type": "color",
"$value": "#f9a9ab"
},
"9": {
"$type": "color",
"$value": "#9f3e41"
},
"10": {
"$type": "color",
"$value": "#7f3234"
},
"11": {
"$type": "color",
"$value": "#612628"
},
"12": {
"$type": "color",
"$value": "#f58083"
},
"13": {
"$type": "color",
"$value": "#fcdbdc"
},
"contrast-1": {
"$type": "color",
"$value": "#ffffff"
},
"contrast-2": {
"$type": "color",
"$value": "#fefefe"
}
}
}
}
124 changes: 124 additions & 0 deletions design-tokens/primitives/modes/colors/dark/theme2.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,130 @@
"$type": "color",
"$value": "#000000"
}
},
"dominant": {
"1": {
"$type": "color",
"$value": "#131c27"
},
"2": {
"$type": "color",
"$value": "#192433"
},
"3": {
"$type": "color",
"$value": "#243142"
},
"4": {
"$type": "color",
"$value": "#333e4e"
},
"5": {
"$type": "color",
"$value": "#424d5b"
},
"6": {
"$type": "color",
"$value": "#495361"
},
"7": {
"$type": "color",
"$value": "#67707c"
},
"8": {
"$type": "color",
"$value": "#bbbfc4"
},
"9": {
"$type": "color",
"$value": "#a6abb2"
},
"10": {
"$type": "color",
"$value": "#90969e"
},
"11": {
"$type": "color",
"$value": "#7a818c"
},
"12": {
"$type": "color",
"$value": "#9ea3ab"
},
"13": {
"$type": "color",
"$value": "#e1e3e5"
},
"contrast-1": {
"$type": "color",
"$value": "#000000"
},
"contrast-2": {
"$type": "color",
"$value": "#1b1b1d"
}
},
"complimentary": {
"1": {
"$type": "color",
"$value": "#2f1213"
},
"2": {
"$type": "color",
"$value": "#3e1819"
},
"3": {
"$type": "color",
"$value": "#522022"
},
"4": {
"$type": "color",
"$value": "#68292b"
},
"5": {
"$type": "color",
"$value": "#7f3234"
},
"6": {
"$type": "color",
"$value": "#8b3639"
},
"7": {
"$type": "color",
"$value": "#bc494c"
},
"8": {
"$type": "color",
"$value": "#f9a9ab"
},
"9": {
"$type": "color",
"$value": "#9f3e41"
},
"10": {
"$type": "color",
"$value": "#7f3234"
},
"11": {
"$type": "color",
"$value": "#612628"
},
"12": {
"$type": "color",
"$value": "#f58083"
},
"13": {
"$type": "color",
"$value": "#fcdbdc"
},
"contrast-1": {
"$type": "color",
"$value": "#ffffff"
},
"contrast-2": {
"$type": "color",
"$value": "#fefefe"
}
}
}
}
Loading
Loading