@conduction/theme 1.1.54 → 1.1.56

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 (59) hide show
  1. package/README.md +2 -1
  2. package/municipalities/buren-design-tokens/LICENSE.md +17 -0
  3. package/municipalities/buren-design-tokens/README.md +3 -0
  4. package/municipalities/buren-design-tokens/documentation/color.stories.mdx +17 -0
  5. package/municipalities/buren-design-tokens/documentation/components.stories.mdx +11 -0
  6. package/municipalities/buren-design-tokens/documentation/design-tokens.stories.mdx +14 -0
  7. package/municipalities/buren-design-tokens/documentation/readme.stories.mdx +7 -0
  8. package/municipalities/buren-design-tokens/package.json +41 -0
  9. package/municipalities/buren-design-tokens/src/brand/buren/color.tokens.json +141 -0
  10. package/municipalities/buren-design-tokens/src/brand/buren/font-size.tokens.json +50 -0
  11. package/municipalities/buren-design-tokens/src/brand/buren/size.tokens.json +17 -0
  12. package/municipalities/buren-design-tokens/src/brand/buren/typography.tokens.json +40 -0
  13. package/municipalities/buren-design-tokens/src/common/utrecht/action.tokens.json +9 -0
  14. package/municipalities/buren-design-tokens/src/common/utrecht/space.tokens.json +28 -0
  15. package/municipalities/buren-design-tokens/src/component/conduction/card-header.tokens.json +34 -0
  16. package/municipalities/buren-design-tokens/src/component/conduction/card-wrapper.tokens.json +33 -0
  17. package/municipalities/buren-design-tokens/src/component/conduction/logo.tokens.json +39 -0
  18. package/municipalities/buren-design-tokens/src/component/conduction/navigation.tokens.json +88 -0
  19. package/municipalities/buren-design-tokens/src/component/conduction/pagination.tokens.json +97 -0
  20. package/municipalities/buren-design-tokens/src/component/conduction/select.tokens.json +39 -0
  21. package/municipalities/buren-design-tokens/src/component/conduction/table-wrapper.tokens.json +21 -0
  22. package/municipalities/buren-design-tokens/src/component/conduction/tooltip.tokens.json +17 -0
  23. package/municipalities/buren-design-tokens/src/component/utrecht/alert.tokens.json +46 -0
  24. package/municipalities/buren-design-tokens/src/component/utrecht/button.tokens.json +152 -0
  25. package/municipalities/buren-design-tokens/src/component/utrecht/code.tokens.json +26 -0
  26. package/municipalities/buren-design-tokens/src/component/utrecht/document.tokens.json +12 -0
  27. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/alert.tokens.json +9 -0
  28. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/form-field.tokens.json +13 -0
  29. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/form-input.tokens.json +26 -0
  30. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/icon.tokens.json +7 -0
  31. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/link.tokens.json +10 -0
  32. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/page-footer.tokens.json +38 -0
  33. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/page-header.tokens.json +15 -0
  34. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/skip-link.tokens.json +24 -0
  35. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/table.tokens.json +37 -0
  36. package/municipalities/buren-design-tokens/src/component/utrecht/extra-tokens/textbox.tokens.json +26 -0
  37. package/municipalities/buren-design-tokens/src/component/utrecht/focus.tokens.json +15 -0
  38. package/municipalities/buren-design-tokens/src/component/utrecht/form-field.tokens.json +17 -0
  39. package/municipalities/buren-design-tokens/src/component/utrecht/form-input.tokens.json +34 -0
  40. package/municipalities/buren-design-tokens/src/component/utrecht/heading.tokens.json +49 -0
  41. package/municipalities/buren-design-tokens/src/component/utrecht/icon.tokens.json +12 -0
  42. package/municipalities/buren-design-tokens/src/component/utrecht/link.tokens.json +33 -0
  43. package/municipalities/buren-design-tokens/src/component/utrecht/list.tokens.json +31 -0
  44. package/municipalities/buren-design-tokens/src/component/utrecht/page-footer.tokens.json +13 -0
  45. package/municipalities/buren-design-tokens/src/component/utrecht/page-header.tokens.json +10 -0
  46. package/municipalities/buren-design-tokens/src/component/utrecht/page.tokens.json +11 -0
  47. package/municipalities/buren-design-tokens/src/component/utrecht/paragraph.tokens.json +25 -0
  48. package/municipalities/buren-design-tokens/src/component/utrecht/select.tokens.json +47 -0
  49. package/municipalities/buren-design-tokens/src/component/utrecht/separator.tokens.json +10 -0
  50. package/municipalities/buren-design-tokens/src/component/utrecht/skip-link.tokens.json +16 -0
  51. package/municipalities/buren-design-tokens/src/component/utrecht/surface.tokens.json +8 -0
  52. package/municipalities/buren-design-tokens/src/component/utrecht/table.tokens.json +60 -0
  53. package/municipalities/buren-design-tokens/src/component/utrecht/textbox.tokens.json +32 -0
  54. package/municipalities/buren-design-tokens/src/config.json +73 -0
  55. package/municipalities/buren-design-tokens/src/font.scss +80 -0
  56. package/municipalities/buren-design-tokens/src/index.scss +8 -0
  57. package/municipalities/buren-design-tokens/style-dictionary.config.js +6 -0
  58. package/municipalities/soest-design-tokens/src/component/conduction/logo.tokens.json +3 -3
  59. package/package.json +3 -2
package/README.md CHANGED
@@ -5,7 +5,8 @@ Conduction's design tokens theme
5
5
  ## Changelog
6
6
 
7
7
  - **Version 1.1 (breaking changes from 1.0.x)**
8
- - 1.1.54: Updated Soest logo.
8
+ - 1.1.56: Added Buren theme.
9
+ - 1.1.54 / 1.1.55: Updated Soest logo.
9
10
  - 1.1.53: Updated Hof van Twente theme to V2
10
11
  - 1.1.52:
11
12
  - Added Soest theme
@@ -0,0 +1,17 @@
1
+ # Auteursrecht Gemeente
2
+
3
+ Copyright (c) 2023 Gemeente Buren
4
+
5
+ ## Logo en huisstijl
6
+
7
+ Op het huisstijl en logo zijn auteursrechten van toepassing. Het gebruik van logo en huisstijl is alleen toegestaan voor gebruik door Gemeente Buren.
8
+
9
+ Wanneer je een bewerking van de software wilt gebruiken voor andere doeleinden, mag je niet het logo van Gemeente Buren gebruiken en je ontwerpt een eigen huisstijl.
10
+
11
+ ## Lettertype
12
+
13
+ Lettertypes die worden gebruikt voor de huisstijl zijn niet allemaal gratis en open source. Let op dat bij gebruik van die bijgeleverde lettertypes je een (betaalde) licentie regelt. Pas anders de configuratie aan om minder of andere lettertypes te gebruiken.
14
+
15
+ ## Toestemming
16
+
17
+ Wanneer je het logo of de huisstijl wilt gebruiken kun je voor toestemming contact opnemen met Gemeente Buren.
@@ -0,0 +1,3 @@
1
+ # NL Design System design tokens Gemeente Buren
2
+
3
+ These tokens have been obtained by analysing the [website of Gemeente Buren](https://www.buren.nl/).
@@ -0,0 +1,17 @@
1
+ import { Meta, ColorPalette, ColorItem } from "@storybook/addon-docs";
2
+ import tokens from "../dist/tokens.json";
3
+ import { ColorSearch } from "@nl-design-system-unstable/theme-toolkit/src/ColorSearch";
4
+ import { ColorTable } from "@nl-design-system-unstable/theme-toolkit/src/ColorTable";
5
+ import config from "../src/config.json";
6
+
7
+ <Meta title={`${config.name}/Color`} />
8
+
9
+ # Color
10
+
11
+ ## Find a color
12
+
13
+ <ColorSearch tokens={tokens[config.prefix]["color"]}></ColorSearch>
14
+
15
+ ## Color palette
16
+
17
+ <ColorTable tokens={tokens[config.prefix]["color"]}></ColorTable>
@@ -0,0 +1,11 @@
1
+ import { Meta, Story } from "@storybook/addon-docs";
2
+ import { ComponentStories } from "@nl-design-system-unstable/theme-toolkit/src/ComponentStories";
3
+ import config from "../src/config.json";
4
+
5
+ <Meta title={`${config.name}`} />
6
+
7
+ # Components
8
+
9
+ <Story name="Components">
10
+ <ComponentStories config={config} />
11
+ </Story>
@@ -0,0 +1,14 @@
1
+ import { Meta, ColorPalette, ColorItem } from "@storybook/addon-docs";
2
+ import { DesignTokensTable } from "@nl-design-system-unstable/theme-toolkit/src/DesignTokensTable";
3
+ import tokens from "../dist/index.json";
4
+ import config from "../src/config.json";
5
+
6
+ <Meta title={`${config.name}/Design Tokens`} />
7
+
8
+ # Design Tokens
9
+
10
+ <DesignTokensTable tokens={tokens.filter((token) => token.path[0] !== config.prefix)}></DesignTokensTable>
11
+
12
+ ## Proprietary Design Tokens
13
+
14
+ <DesignTokensTable tokens={tokens.filter((token) => token.path[0] === config.prefix)}></DesignTokensTable>
@@ -0,0 +1,7 @@
1
+ import { Meta, Description } from "@storybook/addon-docs";
2
+ import markdown from "../README.md";
3
+ import config from "../src/config.json";
4
+
5
+ <Meta title={`${config.name}/README`} />
6
+
7
+ <Description>{markdown}</Description>
@@ -0,0 +1,41 @@
1
+ {
2
+ "version": "1.0.0-alpha.12",
3
+ "author": "Community for NL Design System",
4
+ "description": "NL Design System design tokens for Gemeente Buren",
5
+ "website": "https://www.buren.nl/",
6
+ "keywords": [
7
+ "nl-design-system",
8
+ "conduction"
9
+ ],
10
+ "license": "SEE LICENSE IN LICENSE.md",
11
+ "name": "@nl-design-system-unstable/buren-design-tokens",
12
+ "private": false,
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "repository": {
17
+ "type": "git+ssh",
18
+ "url": "git@github.com:nl-design-system/themes.git"
19
+ },
20
+ "scripts": {
21
+ "clean": "rimraf -rf dist/",
22
+ "prebuild": "npm run clean",
23
+ "watch": "npm-run-all watch:**",
24
+ "watch:style-dictionary": "chokidar --follow-symlinks --command 'npm run --ignore-scripts build' 'src/**/*.tokens.json'",
25
+ "build": "npm-run-all build:**",
26
+ "build:scss": "sass --no-source-map src/:dist/",
27
+ "build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.js"
28
+ },
29
+ "devDependencies": {
30
+ "@fontsource/source-sans-pro": "5.0.8",
31
+ "@nl-design-system-unstable/theme-toolkit": "workspace:*",
32
+ "chokidar-cli": "3.0.0",
33
+ "npm-run-all": "4.1.5",
34
+ "rimraf": "3.0.2",
35
+ "style-dictionary": "3.8.0"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/ConductionNL/conduction-theme/issues"
39
+ },
40
+ "homepage": "https://github.com/ConductionNL/conduction-theme#readme"
41
+ }
@@ -0,0 +1,141 @@
1
+ {
2
+ "buren": {
3
+ "color": {
4
+ "primary": {
5
+ "value": "{buren.color.red.40}"
6
+ },
7
+ "primary-hover": {
8
+ "value": "{buren.color.red.33}"
9
+ },
10
+ "error": { "value": "#dc3545" },
11
+ "alert-error": { "value": "#721c24" },
12
+ "alert-error-background": { "value": "#f8d7da" },
13
+ "warning": { "value": "#ffc107" },
14
+ "alert-warning": { "value": "#856404" },
15
+ "alert-warning-background": { "value": "#fff3cd" },
16
+ "succes": { "value": "#28a745" },
17
+ "alert-succes": { "value": "#155724" },
18
+ "alert-succes-background": { "value": "#d4edda" },
19
+ "info": { "value": "{buren.color.primary}" },
20
+ "alert-info": { "value": "#004085" },
21
+ "alert-info-background": { "value": "#cce5ff" },
22
+ "red": {
23
+ "25": {
24
+ "value": "#68161c"
25
+ },
26
+ "33": {
27
+ "value": "#8a1e25"
28
+ },
29
+ "40": {
30
+ "value": "#a6242d"
31
+ },
32
+ "46": {
33
+ "value": "#cc0000"
34
+ },
35
+ "85": {
36
+ "value": "#e9c8ca"
37
+ }
38
+ },
39
+ "blue": {
40
+ "40": {
41
+ "value": "#005fcc"
42
+ }
43
+ },
44
+ "yellow": {
45
+ "55": {
46
+ "value": "#f5bf24"
47
+ }
48
+ },
49
+ "orange": {
50
+ "88": {
51
+ "value": "#fde7c4"
52
+ },
53
+ "93": {
54
+ "value": "#fef1dd"
55
+ }
56
+ },
57
+ "grey": {
58
+ "20": {
59
+ "value": "#333333"
60
+ },
61
+ "27": {
62
+ "value": "#444444"
63
+ },
64
+ "29": {
65
+ "value": "#4a4a4a"
66
+ },
67
+ "31": {
68
+ "value": "#4f4f4f"
69
+ },
70
+ "46": {
71
+ "value": "#767676"
72
+ },
73
+ "48": {
74
+ "value": "#7a7a7a"
75
+ },
76
+ "50": {
77
+ "value": "#808080"
78
+ },
79
+ "58": {
80
+ "value": "#949494"
81
+ },
82
+ "70": {
83
+ "value": "#b3b3b3"
84
+ },
85
+ "82": {
86
+ "value": "#d1d1d1"
87
+ },
88
+ "87": {
89
+ "value": "#dddddd"
90
+ },
91
+ "90": {
92
+ "value": "#e6e6e6"
93
+ },
94
+ "91": {
95
+ "value": "#e9e9e9"
96
+ },
97
+ "93": {
98
+ "value": "#e9ecef",
99
+ "comment": "Base/Grey"
100
+ },
101
+ "95": {
102
+ "value": "#f2f2f2"
103
+ },
104
+ "97": {
105
+ "value": "#f7f7f7"
106
+ }
107
+ },
108
+ "lightgrey": {
109
+ "93": {
110
+ "value": "#ededed"
111
+ },
112
+ "96": {
113
+ "value": "#f5f5f5",
114
+ "comment": "Base/LightGrey"
115
+ }
116
+ },
117
+ "white": {
118
+ "98": {
119
+ "value": "#fafafa"
120
+ },
121
+ "100": {
122
+ "value": "#ffffff",
123
+ "comment": "Base/White"
124
+ }
125
+ },
126
+ "black": {
127
+ "0": {
128
+ "value": "#000000",
129
+ "comment": "Base/Black"
130
+ },
131
+ "0-60t": {
132
+ "value": "#00000099",
133
+ "comment": "Black with 60% transparency"
134
+ },
135
+ "30": {
136
+ "value": "#4d4d4d"
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "buren": {
3
+ "font-size": {
4
+ "4xs": {
5
+ "value": "0.313rem",
6
+ "comment": "5px"
7
+ },
8
+ "3xs": {
9
+ "value": "0.5rem",
10
+ "comment": "8px"
11
+ },
12
+ "2xs": {
13
+ "value": "0.625rem",
14
+ "comment": "10px"
15
+ },
16
+ "xs": {
17
+ "value": "0.75rem",
18
+ "comment": "12px"
19
+ },
20
+ "sm": {
21
+ "value": "0.875rem",
22
+ "comment": "14px"
23
+ },
24
+ "md": {
25
+ "value": "1rem",
26
+ "comment": "16px"
27
+ },
28
+ "lg": {
29
+ "value": "1.3rem",
30
+ "comment": "20.8px"
31
+ },
32
+ "xl": {
33
+ "value": "1.6rem",
34
+ "comment": "25.6px"
35
+ },
36
+ "2xl": {
37
+ "value": "2.2rem",
38
+ "comment": "35.2px"
39
+ },
40
+ "3xl": {
41
+ "value": "3rem",
42
+ "comment": "48px"
43
+ },
44
+ "4xl": {
45
+ "value": "3.625rem",
46
+ "comment": "58px"
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "buren": {
3
+ "size": {
4
+ "4xs": { "value": "1px" },
5
+ "3xs": { "value": "2px" },
6
+ "2xs": { "value": "4px" },
7
+ "xs": { "value": "8px" },
8
+ "sm": { "value": "14px" },
9
+ "md": { "value": "18px" },
10
+ "lg": { "value": "24px" },
11
+ "xl": { "value": "32px" },
12
+ "2xl": { "value": "48px" },
13
+ "3xl": { "value": "72px" },
14
+ "4xl": { "value": "96px" }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "buren": {
3
+ "typography": {
4
+ "sans-serif": {
5
+ "font-family": {
6
+ "value": "\"Roboto\", Arial, sans-serif"
7
+ }
8
+ },
9
+ "monospace": {
10
+ "font-family": {
11
+ "value": "Monospace, \"Lucida Console\""
12
+ }
13
+ },
14
+ "font-weight": {
15
+ "bold": {
16
+ "value": "600"
17
+ },
18
+ "normal": {
19
+ "value": "400"
20
+ },
21
+ "light": {
22
+ "value": "100"
23
+ }
24
+ },
25
+ "scale": {
26
+ "4xs": { "value": "{buren.font-size.4xs}" },
27
+ "3xs": { "value": "{buren.font-size.3xs}" },
28
+ "2xs": { "value": "{buren.font-size.2xs}" },
29
+ "xs": { "value": "{buren.font-size.xs}" },
30
+ "sm": { "value": "{buren.font-size.sm}" },
31
+ "md": { "value": "{buren.font-size.md}" },
32
+ "lg": { "value": "{buren.font-size.lg}" },
33
+ "xl": { "value": "{buren.font-size.xl}" },
34
+ "2xl": { "value": "{buren.font-size.2xl}" },
35
+ "3xl": { "value": "{buren.font-size.3xl}" },
36
+ "4xl": { "value": "{buren.font-size.4xl}" }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "utrecht": {
3
+ "action": {
4
+ "busy": { "cursor": { "value": "wait" } },
5
+ "disabled": { "cursor": { "value": "not-allowed" } },
6
+ "submit": { "cursor": { "value": "pointer" } }
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "utrecht": {
3
+ "space": {
4
+ "block": {
5
+ "3xs": { "value": "{buren.size.3xs}" },
6
+ "2xs": { "value": "{buren.size.2xs}" },
7
+ "xs": { "value": "{buren.size.xs}" },
8
+ "sm": { "value": "{buren.size.sm}" },
9
+ "md": { "value": "{buren.size.md}" },
10
+ "lg": { "value": "{buren.size.lg}" },
11
+ "xl": { "value": "{buren.size.xl}" },
12
+ "2xl": { "value": "{buren.size.2xl}" },
13
+ "3xl": { "value": "{buren.size.3xl}" }
14
+ },
15
+ "inline": {
16
+ "3xs": { "value": "{buren.size.3xs}" },
17
+ "2xs": { "value": "{buren.size.2xs}" },
18
+ "xs": { "value": "{buren.size.xs}" },
19
+ "sm": { "value": "{buren.size.sm}" },
20
+ "md": { "value": "{buren.size.md}" },
21
+ "lg": { "value": "{buren.size.lg}" },
22
+ "xl": { "value": "{buren.size.xl}" },
23
+ "2xl": { "value": "{buren.size.2xl}" },
24
+ "3xl": { "value": "{buren.size.3xl}" }
25
+ }
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "conduction": {
3
+ "card-header": {
4
+ "background-color": {},
5
+ "border-bottom-width": {},
6
+ "border-bottom-style": {},
7
+ "border-bottom-color": {},
8
+ "color": { "value": "{utrecht.document.color}" },
9
+ "hover": {
10
+ "background-color": {},
11
+ "border-bottom-width": {},
12
+ "border-bottom-style": {},
13
+ "border-bottom-color": {}
14
+ },
15
+ "title": {
16
+ "color": { "value": "{buren.color.grey.20}" },
17
+ "text-decoration": { "value": "none" },
18
+ "text-underline-offset": { "value": "5px" },
19
+ "hover": {
20
+ "color": { "value": "{buren.color.primary}" },
21
+ "text-decoration": {},
22
+ "text-underline-offset": {}
23
+ }
24
+ },
25
+ "date": {
26
+ "color": { "value": "{buren.color.grey.20}" },
27
+ "font-size": { "value": "{buren.font-size.sm}" },
28
+ "font-weight": { "value": "{buren.typography.font-weight.normal}" },
29
+ "font-style": {},
30
+ "margin-block-end": { "value": "{buren.size.xs}" }
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "conduction": {
3
+ "card-wrapper": {
4
+ "background-color": { "value": "{buren.color.white.100}" },
5
+ "border-color": { "value": "{buren.color.white.100}" },
6
+ "border-style": { "value": "solid" },
7
+ "border-width": { "value": "0" },
8
+ "border-bottom-color": { "value": "{buren.color.yellow.55}" },
9
+ "border-bottom-style": { "value": "solid" },
10
+ "border-bottom-width": { "value": "3px" },
11
+ "border-radius": { "value": "0" },
12
+ "transition": { "value": "all .2s ease" },
13
+ "box-shadow": {},
14
+ "color": { "value": "{buren.color.grey.20}" },
15
+ "hover": {
16
+ "background-color": {},
17
+ "color": { "value": "" },
18
+ "border-color": { "value": "{buren.color.white.100}" },
19
+ "border-style": { "value": "solid" },
20
+ "border-width": { "value": "0" },
21
+ "border-bottom-color": { "value": "{buren.color.yellow.55}" },
22
+ "border-bottom-style": { "value": "solid" },
23
+ "border-bottom-width": { "value": "3px" },
24
+ "border-radius": { "value": "0" },
25
+ "box-shadow": {}
26
+ },
27
+ "padding-inline-end": { "value": "1.8rem" },
28
+ "padding-inline-start": { "value": "1.8rem" },
29
+ "padding-block-end": { "value": "1.8rem" },
30
+ "padding-block-start": { "value": "1.8rem" }
31
+ }
32
+ }
33
+ }