@utrecht/design-tokens 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/_mixin-theme.scss +41 -13
  3. package/dist/_mixin.scss +41 -13
  4. package/dist/_variables.scss +41 -13
  5. package/dist/dark/_mixin-theme.scss +41 -13
  6. package/dist/dark/_mixin.scss +41 -13
  7. package/dist/dark/_variables.scss +41 -13
  8. package/dist/dark/index.cjs +42 -14
  9. package/dist/dark/index.css +41 -13
  10. package/dist/dark/index.d.ts +35 -7
  11. package/dist/dark/index.flat.json +40 -12
  12. package/dist/dark/index.json +909 -181
  13. package/dist/dark/index.mjs +41 -13
  14. package/dist/dark/index.tokens.json +123 -212
  15. package/dist/dark/list.json +909 -181
  16. package/dist/dark/list.mjs +909 -181
  17. package/dist/dark/property.css +19 -6
  18. package/dist/dark/root.css +40 -12
  19. package/dist/dark/theme-prince-xml.css +41 -13
  20. package/dist/dark/theme.css +40 -12
  21. package/dist/dark/tokens.cjs +842 -231
  22. package/dist/dark/tokens.d.ts +78 -106
  23. package/dist/dark/tokens.json +842 -231
  24. package/dist/dark/variables.cjs +42 -14
  25. package/dist/dark/variables.css +40 -12
  26. package/dist/dark/variables.d.ts +35 -7
  27. package/dist/dark/variables.json +40 -12
  28. package/dist/dark/variables.less +41 -13
  29. package/dist/dark/variables.mjs +41 -13
  30. package/dist/index.cjs +42 -14
  31. package/dist/index.css +82 -26
  32. package/dist/index.d.ts +35 -7
  33. package/dist/index.flat.json +40 -12
  34. package/dist/index.json +903 -175
  35. package/dist/index.mjs +41 -13
  36. package/dist/index.tokens.json +123 -212
  37. package/dist/list.json +903 -175
  38. package/dist/list.mjs +903 -175
  39. package/dist/property.css +19 -6
  40. package/dist/root.css +40 -12
  41. package/dist/theme-prince-xml.css +41 -13
  42. package/dist/theme.css +40 -12
  43. package/dist/tokens.cjs +842 -231
  44. package/dist/tokens.d.ts +78 -106
  45. package/dist/tokens.json +842 -231
  46. package/dist/variables.cjs +42 -14
  47. package/dist/variables.css +40 -12
  48. package/dist/variables.d.ts +35 -7
  49. package/dist/variables.json +40 -12
  50. package/dist/variables.less +41 -13
  51. package/dist/variables.mjs +41 -13
  52. package/package.json +1 -1
  53. package/src/component/signalen/signalen.tokens.json +17 -0
  54. package/src/component/utrecht/body.tokens.json +11 -0
  55. package/src/component/utrecht/link-list.tokens.json +3 -0
  56. package/src/component/utrecht/nav-bar.tokens.json +0 -2
  57. package/src/component/utrecht/page-body.tokens.json +19 -0
  58. package/src/component/utrecht/page-footer.tokens.json +6 -4
  59. package/src/component/utrecht/page-header.tokens.json +14 -4
  60. package/src/component/utrecht/page.tokens.json +2 -2
  61. package/src/component/utrecht/root.tokens.json +8 -0
  62. package/project.json +0 -25
@@ -82,6 +82,11 @@ export const utrechtBlockquoteContentFontSize = "1.125rem";
82
82
  export const utrechtBlockquoteCaptionFontSize = "0.875rem";
83
83
  export const utrechtBlockquoteMarginBlockStart = "1.6em";
84
84
  export const utrechtBlockquoteMarginBlockEnd = "1.6em";
85
+ export const utrechtBodyFontFamily = "\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", \"Arial\", sans-serif";
86
+ export const utrechtBodyFontSize = "1rem";
87
+ export const utrechtBodyLineHeight = "1.4";
88
+ export const utrechtBodyBackgroundColor = "hsl(0 0% 100%)";
89
+ export const utrechtBodyColor = "hsl(0 0% 0%)";
85
90
  export const utrechtBreadcrumbNavMinBlockSize = "34px";
86
91
  export const utrechtBreadcrumbNavFontSize = "1rem";
87
92
  export const utrechtBreadcrumbNavItemPaddingBlockStart = "8px";
@@ -543,6 +548,7 @@ export const utrechtLinkListLinkColumnGap = "8px";
543
548
  export const utrechtLinkListLinkFontWeight = "700";
544
549
  export const utrechtLinkListLinkTextDecoration = "none";
545
550
  export const utrechtLinkListIconSize = "14px";
551
+ export const utrechtLinkListIconInsetBlockStart = "0.15em";
546
552
  export const utrechtLinkSocialBackgroundColor = "hsl(0 100% 40%)";
547
553
  export const utrechtLinkSocialBorderColor = "hsl(0 0% 100%)";
548
554
  export const utrechtLinkSocialBorderWidth = "2px";
@@ -624,8 +630,6 @@ export const utrechtMapcontrolbuttonPaddingInlineEnd = "4px";
624
630
  export const utrechtMapcontrolbuttonPaddingInlineStart = "4px";
625
631
  export const utrechtMarkBackgroundColor = "hsl(48 100% 60%)";
626
632
  export const utrechtMarkColor = "hsl(0 0% 0%)";
627
- export const utrechtNavBarBackgroundColor = "hsl(0 0% 100%)";
628
- export const utrechtNavBarColor = "hsl(0 0% 0%)";
629
633
  export const utrechtNavBarContentMaxInlineSize = "1184px";
630
634
  export const utrechtNavBarLinkPaddingBlockEnd = "8px";
631
635
  export const utrechtNavBarLinkPaddingBlockStart = "8px";
@@ -665,28 +669,47 @@ export const utrechtOrderedListPaddingInlineStart = "28.8px";
665
669
  export const utrechtOrderedListItemMarginBlockStart = "0.25em";
666
670
  export const utrechtOrderedListItemMarginBlockEnd = "0.25em";
667
671
  export const utrechtOrderedListItemPaddingInlineStart = "0";
672
+ export const utrechtPageBodyContentBackgroundColor = "hsl(0 0% 100%)";
673
+ export const utrechtPageBodyContentColor = "hsl(0 0% 0%)";
674
+ export const utrechtPageBodyContentPaddingBlockStart = "0";
675
+ export const utrechtPageBodyContentPaddingBlockEnd = "1em";
676
+ export const utrechtPageBodyContentPaddingInlineStart = "2em";
677
+ export const utrechtPageBodyContentMaxInlineSize = "1184px";
678
+ export const utrechtPageBodyContentPaddingInlineEnd = "2.4em";
679
+ export const utrechtPageBodyPaddingInlineEnd = "0";
680
+ export const utrechtPageBodyPaddingInlineStart = "0";
681
+ export const utrechtPageBodyPaddingBlockEnd = "0";
682
+ export const utrechtPageBodyPaddingBlockStart = "0";
668
683
  export const utrechtPageContentPaddingBlockStart = "2em";
669
684
  export const utrechtPageContentPaddingBlockEnd = "2em";
670
685
  export const utrechtPageFooterColor = "hsl(0 0% 100%)";
671
686
  export const utrechtPageFooterBackgroundColor = "hsl(0 100% 40%)";
672
687
  export const utrechtPageFooterBackgroundImage = "linear-gradient(45deg, hsl(0 100% 40%), hsl(0 100% 40%) 50%, #d63433 50%);";
673
- export const utrechtPageFooterPaddingInlineEnd = "28px";
674
- export const utrechtPageFooterPaddingInlineStart = "28px";
675
- export const utrechtPageFooterPaddingBlockEnd = "48px";
676
- export const utrechtPageFooterPaddingBlockStart = "48px";
677
- export const utrechtPageHeaderPaddingBlockStart = "1.8em";
678
- export const utrechtPageHeaderPaddingBlockEnd = "1em";
679
- export const utrechtPageHeaderPaddingInlineStart = "2em";
680
- export const utrechtPageHeaderPaddingInlineEnd = "2.4em";
688
+ export const utrechtPageFooterContentPaddingBlockEnd = "48px";
689
+ export const utrechtPageFooterContentPaddingBlockStart = "48px";
690
+ export const utrechtPageFooterContentMaxInlineSize = "1184px";
691
+ export const utrechtPageFooterContentPaddingInline = "28px";
692
+ export const utrechtPageHeaderPaddingBlockStart = "0";
693
+ export const utrechtPageHeaderPaddingBlockEnd = "0";
694
+ export const utrechtPageHeaderPaddingInlineStart = "0";
695
+ export const utrechtPageHeaderPaddingInlineEnd = "0";
696
+ export const utrechtPageHeaderContentBackgroundColor = "hsl(0 0% 100%)";
697
+ export const utrechtPageHeaderContentColor = "hsl(0 0% 0%)";
698
+ export const utrechtPageHeaderContentPaddingBlockStart = "1.8em";
699
+ export const utrechtPageHeaderContentPaddingBlockEnd = "1em";
700
+ export const utrechtPageHeaderContentPaddingInlineStart = "2em";
701
+ export const utrechtPageHeaderContentPaddingInlineEnd = "2.4em";
702
+ export const utrechtPageHeaderContentMaxInlineSize = "1184px";
703
+ export const utrechtPageHeaderContentPaddingInline = "2em";
681
704
  export const utrechtPageBackgroundColor = "hsl(0 0% 100%)";
682
705
  export const utrechtPageColor = "hsl(0 0% 0%)";
683
706
  export const utrechtPageMarginInlineStart = "2em";
684
707
  export const utrechtPageMarginInlineEnd = "2em";
685
708
  export const utrechtPageMaxInlineSize = "1184px";
686
709
  export const utrechtPagePaddingBlockStart = "1.8em";
687
- export const utrechtPagePaddingInlineEnd = "2em";
710
+ export const utrechtPagePaddingInlineEnd = "0";
688
711
  export const utrechtPagePaddingBlockEnd = "1em";
689
- export const utrechtPagePaddingInlineStart = "2em";
712
+ export const utrechtPagePaddingInlineStart = "0";
690
713
  export const utrechtPaginationFontSize = "0.875rem";
691
714
  export const utrechtPaginationMarginBlockStart = "0";
692
715
  export const utrechtPaginationMarginBlockEnd = "1em";
@@ -738,6 +761,7 @@ export const utrechtPreHeadingMarginBlockStart = "28px";
738
761
  export const utrechtRadioButtonBackgroundColor = "hsl(0 0% 100%)";
739
762
  export const utrechtRadioButtonBorderColor = "hsl(0 0% 30%)";
740
763
  export const utrechtRadioButtonBorderWidth = "2px";
764
+ export const utrechtRadioButtonColor = "hsl(0 0% 100%)";
741
765
  export const utrechtRadioButtonSize = "24px";
742
766
  export const utrechtRadioButtonMarginInlineEnd = "12px";
743
767
  export const utrechtRadioButtonIconSize = "42%";
@@ -756,13 +780,14 @@ export const utrechtRadioButtonDisabledBorderColor = "hsl(0 0% 80%)";
756
780
  export const utrechtRadioButtonDisabledColor = "hsl(0 0% 100%)";
757
781
  export const utrechtRadioButtonInvalidBorderColor = "#990000";
758
782
  export const utrechtRadioButtonInvalidBorderWidth = "2px";
759
- export const utrechtRadioButtonColor = "hsl(0 0% 100%)";
760
783
  export const utrechtRadioButtonBorderRadius = "0";
761
784
  export const utrechtRichTextStrangerMarginBlockEnd = "32px";
762
785
  export const utrechtRichTextAcquaintanceMarginBlockEnd = "16px";
763
786
  export const utrechtRichTextFriendMarginBlockEnd = "8px";
764
787
  export const utrechtRichTextBestFriendMarginBlockEnd = "4px";
765
788
  export const utrechtRichTextConfidantMarginBlockEnd = 0;
789
+ export const utrechtRootBackgroundColor = "hsl(0 0% 95%)";
790
+ export const utrechtRootColor = "hsl(0 0% 10%)";
766
791
  export const utrechtSearchBarButtonBackgroundColor = "hsl(0 100% 40%)";
767
792
  export const utrechtSearchBarButtonBorderColor = "hsl(0 100% 40%)";
768
793
  export const utrechtSearchBarButtonColor = "hsl(0 0% 100%)";
@@ -1066,3 +1091,6 @@ export const ofPageFooterBg = "hsl(0 100% 40%)";
1066
1091
  export const ofPageFooterFg = "hsl(0 0% 100%)";
1067
1092
  export const ofProgressIndicatorBackgroundColor = "hsl(0 0% 100%)";
1068
1093
  export const ofProgressIndicatorMobileBoxShadow = "0px 0px 2px 0px rgba(0 0 0 / 20%)";
1094
+ export const signalenModalDialogBackgroundColor = "hsl(0 0% 100%)";
1095
+ export const signalenModalDialogColor = "hsl(0 0% 0%)";
1096
+ export const signalenProgressBarBorderRadius = "4px";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.4.0",
2
+ "version": "2.5.0",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Design Tokens for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "SEE LICENSE IN ./LICENSE.md",
@@ -0,0 +1,17 @@
1
+ {
2
+ "signalen": {
3
+ "modal-dialog": {
4
+ "background-color": {
5
+ "value": "{utrecht.body.background-color}"
6
+ },
7
+ "color": {
8
+ "value": "{utrecht.body.color}"
9
+ }
10
+ },
11
+ "progress-bar": {
12
+ "border-radius": {
13
+ "value": "4px"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "utrecht": {
3
+ "body": {
4
+ "background-color": { "value": "{utrecht.color.white}" },
5
+ "color": { "value": "{utrecht.color.black}" },
6
+ "font-family": { "value": "{utrecht.typography.sans-serif.font-family}" },
7
+ "font-size": { "value": "{utrecht.typography.scale.md.font-size}" },
8
+ "line-height": { "value": "1.4" }
9
+ }
10
+ }
11
+ }
@@ -16,6 +16,9 @@
16
16
  }
17
17
  },
18
18
  "icon": {
19
+ "inset-block-start": {
20
+ "value": "0.15em"
21
+ },
19
22
  "size": {
20
23
  "value": "14px"
21
24
  }
@@ -1,8 +1,6 @@
1
1
  {
2
2
  "utrecht": {
3
3
  "nav-bar": {
4
- "background-color": { "value": "{utrecht.color.white}" },
5
- "color": { "value": "{utrecht.color.black}" },
6
4
  "content": {
7
5
  "max-inline-size": { "value": "{utrecht.page.max-inline-size}" }
8
6
  },
@@ -0,0 +1,19 @@
1
+ {
2
+ "utrecht": {
3
+ "page-body": {
4
+ "padding-inline-end": { "value": "0" },
5
+ "padding-inline-start": { "value": "0" },
6
+ "padding-block-end": { "value": "0" },
7
+ "padding-block-start": { "value": "0" },
8
+ "content": {
9
+ "background-color": { "value": "{utrecht.color.white}" },
10
+ "color": { "value": "{utrecht.color.black}" },
11
+ "max-inline-size": { "value": "1184px" },
12
+ "padding-inline-end": { "value": "2.4em" },
13
+ "padding-inline-start": { "value": "2em" },
14
+ "padding-block-end": { "value": "1em" },
15
+ "padding-block-start": { "value": "0" }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -6,10 +6,12 @@
6
6
  "background-image": {
7
7
  "value": "linear-gradient(45deg, {utrecht.color.red.40}, {utrecht.color.red.40} 50%, #d63433 50%);"
8
8
  },
9
- "padding-inline-end": { "value": "{utrecht.space.inline.2xl}" },
10
- "padding-inline-start": { "value": "{utrecht.space.inline.2xl}" },
11
- "padding-block-end": { "value": "{utrecht.space.block.3xl}" },
12
- "padding-block-start": { "value": "{utrecht.space.block.3xl}" }
9
+ "content": {
10
+ "max-inline-size": { "value": "1184px" },
11
+ "padding-inline": { "value": "{utrecht.space.inline.2xl}" },
12
+ "padding-block-end": { "value": "{utrecht.space.block.3xl}" },
13
+ "padding-block-start": { "value": "{utrecht.space.block.3xl}" }
14
+ }
13
15
  }
14
16
  }
15
17
  }
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "utrecht": {
3
3
  "page-header": {
4
- "padding-inline-end": { "value": "2.4em" },
5
- "padding-inline-start": { "value": "2em" },
6
- "padding-block-end": { "value": "1em" },
7
- "padding-block-start": { "value": "1.8em" }
4
+ "padding-inline-end": { "value": "0" },
5
+ "padding-inline-start": { "value": "0" },
6
+ "padding-block-end": { "value": "0" },
7
+ "padding-block-start": { "value": "0" },
8
+ "content": {
9
+ "background-color": { "value": "{utrecht.color.white}" },
10
+ "color": { "value": "{utrecht.color.black}" },
11
+ "max-inline-size": { "value": "1184px" },
12
+ "padding-inline-end": { "value": "2.4em", "$comment": "Legacy design token" },
13
+ "padding-inline-start": { "value": "2em", "$comment": "Legacy design token" },
14
+ "padding-inline": { "value": "2em" },
15
+ "padding-block-end": { "value": "1em" },
16
+ "padding-block-start": { "value": "1.8em" }
17
+ }
8
18
  }
9
19
  }
10
20
  }
@@ -7,9 +7,9 @@
7
7
  "margin-inline-end": { "value": "2em" },
8
8
  "max-inline-size": { "value": "1184px" },
9
9
  "padding-block-start": { "value": "1.8em" },
10
- "padding-inline-end": { "value": "2em" },
10
+ "padding-inline-end": { "value": "0" },
11
11
  "padding-block-end": { "value": "1em" },
12
- "padding-inline-start": { "value": "2em" }
12
+ "padding-inline-start": { "value": "0" }
13
13
  }
14
14
  }
15
15
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "utrecht": {
3
+ "root": {
4
+ "background-color": { "value": "{utrecht.color.grey.95}" },
5
+ "color": { "value": "{utrecht.color.grey.10}" }
6
+ }
7
+ }
8
+ }
package/project.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
3
- "root": "{workspaceRoot}/proprietary/design-tokens",
4
- "sourceRoot": "{projectRoot}",
5
- "projectType": "library",
6
- "targets": {
7
- "build": {
8
- "executor": "@nrwl/workspace:run-commands",
9
- "outputs": ["{projectRoot}/dist"],
10
- "options": {
11
- "command": "pnpm run build",
12
- "cwd": "proprietary/design-tokens",
13
- "outputPath": "proprietary/design-tokens/dist"
14
- },
15
- "dependsOn": ["^build"]
16
- },
17
- "watch": {
18
- "executor": "@nrwl/workspace:run-commands",
19
- "options": {
20
- "command": "pnpm run watch",
21
- "cwd": "proprietary/design-tokens"
22
- }
23
- }
24
- }
25
- }