@dictu/design-tokens 2.1.0 → 2.2.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.
- package/CHANGELOG.md +8 -0
- package/dist/index.css +15 -1
- package/package.json +1 -1
- package/src/$metadata.json +1 -1
- package/src/$themes.json +2 -2
- package/src/components/card.tokens.json +68 -0
- package/src/components/table.tokens.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.css
CHANGED
|
@@ -238,10 +238,12 @@
|
|
|
238
238
|
--govnl-card-heading-active-text-decoration-line: underline;
|
|
239
239
|
--govnl-card-heading-focus-visible-text-decoration-line: underline;
|
|
240
240
|
--govnl-card-heading-focus-visible-text-decoration-thickness: max(3px, .1875rem, .12em);
|
|
241
|
+
--govnl-card-metadata-subheading-text-decoration-line: none;
|
|
241
242
|
--govnl-card-accent-border-color: transparant;
|
|
242
243
|
--govnl-card-accent-hover-border-color: transparant;
|
|
243
244
|
--govnl-card-accent-active-border-color: transparant;
|
|
244
245
|
--govnl-card-accent-focus-border-color: transparant;
|
|
246
|
+
--govnl-card-metadata-footer-text-decoration-line: none;
|
|
245
247
|
--govnl-button-primary-action-border-color: rgba(0, 0, 0, 0);
|
|
246
248
|
--govnl-button-primary-action-hover-border-color: rgba(0, 0, 0, 0);
|
|
247
249
|
--govnl-button-primary-action-active-border-color: rgba(0, 0, 0, 0);
|
|
@@ -306,7 +308,7 @@
|
|
|
306
308
|
--nl-link-hover-text-decoration-thickness: max(3px, .1875rem, .12em);
|
|
307
309
|
--govnl-timeline-connector-border-width: var(--govnl-border-border-width-md);
|
|
308
310
|
--govnl-timeline-border-radius: var(--govnl-border-border-radius-sm);
|
|
309
|
-
--govnl-table-caption-font-size: var(--govnl-typography-font-size-
|
|
311
|
+
--govnl-table-caption-font-size: var(--govnl-typography-font-size-sm);
|
|
310
312
|
--govnl-table-header-border-block-end-width: var(--govnl-border-border-width-md);
|
|
311
313
|
--govnl-table-header-sticky-color: var(--govnl-color-black);
|
|
312
314
|
--govnl-table-footer-background-color: var(--govnl-color-white);
|
|
@@ -647,6 +649,14 @@
|
|
|
647
649
|
--govnl-card-default-main-padding-inline-start: var(--govnl-space-sm);
|
|
648
650
|
--govnl-card-default-main-padding-block-end: var(--govnl-space-sm);
|
|
649
651
|
--govnl-card-default-main-row-gap: var(--govnl-space-xs);
|
|
652
|
+
--govnl-card-default-metadata-subheading-color: var(--govnl-document-subtle-color);
|
|
653
|
+
--govnl-card-default-metadata-footer-color: var(--govnl-document-subtle-color);
|
|
654
|
+
--govnl-card-metadata-subheading-font-family: var(--govnl-document-font-family);
|
|
655
|
+
--govnl-card-metadata-subheading-font-size: var(--govnl-document-font-size);
|
|
656
|
+
--govnl-card-metadata-subheading-font-weight: var(--govnl-document-font-weight);
|
|
657
|
+
--govnl-card-metadata-subheading-line-height: var(--govnl-document-line-height);
|
|
658
|
+
--govnl-card-accent-metadata-subheading-color: var(--govnl-document-inverse-color);
|
|
659
|
+
--govnl-card-accent-metadata-footer-color: var(--govnl-document-inverse-color);
|
|
650
660
|
--govnl-card-accent-background-color: var(--govnl-brand-primary-1-500);
|
|
651
661
|
--govnl-card-accent-color: var(--govnl-document-inverse-color);
|
|
652
662
|
--govnl-card-accent-hover-background-color: var(--govnl-brand-primary-1-500);
|
|
@@ -660,6 +670,10 @@
|
|
|
660
670
|
--govnl-card-accent-paragraph-color: var(--govnl-document-inverse-color);
|
|
661
671
|
--govnl-card-accent-paragraph-hover-color: var(--govnl-document-inverse-color);
|
|
662
672
|
--govnl-card-accent-paragraph-active-color: var(--govnl-document-inverse-color);
|
|
673
|
+
--govnl-card-metadata-footer-font-family: var(--govnl-document-font-family);
|
|
674
|
+
--govnl-card-metadata-footer-font-size: var(--govnl-document-font-size);
|
|
675
|
+
--govnl-card-metadata-footer-font-weight: var(--govnl-document-font-weight);
|
|
676
|
+
--govnl-card-metadata-footer-line-height: var(--govnl-document-line-height);
|
|
663
677
|
--govnl-button-primary-action-background-color: var(--govnl-interaction-color);
|
|
664
678
|
--govnl-button-primary-action-focus-background-color: var(--govnl-focus-background-color);
|
|
665
679
|
--govnl-button-primary-action-focus-color: var(--govnl-focus-color);
|
package/package.json
CHANGED
package/src/$metadata.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"components/page-footer.tokens",
|
|
30
30
|
"components/page-header.tokens",
|
|
31
31
|
"components/paragraph.tokens",
|
|
32
|
-
"components/searchbar.tokens
|
|
32
|
+
"components/searchbar.tokens",
|
|
33
33
|
"components/section.tokens",
|
|
34
34
|
"components/skip-link.tokens",
|
|
35
35
|
"components/table.tokens",
|
package/src/$themes.json
CHANGED
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"components/timeline.tokens": "enabled",
|
|
29
29
|
"components/table.tokens": "enabled",
|
|
30
30
|
"components/list.tokens": "enabled",
|
|
31
|
-
"components/searchbar.tokens.wip": "enabled",
|
|
32
31
|
"components/form-elements/checkbox.tokens": "enabled",
|
|
33
32
|
"components/form-elements/date-input.tokens": "enabled",
|
|
34
33
|
"components/form-elements/fieldset.tokens": "enabled",
|
|
@@ -37,7 +36,8 @@
|
|
|
37
36
|
"components/form-elements/radio-button.tokens": "enabled",
|
|
38
37
|
"components/form-elements/select.tokens": "enabled",
|
|
39
38
|
"components/form-elements/text-area.tokens": "enabled",
|
|
40
|
-
"components/form-elements/text-input.tokens": "enabled"
|
|
39
|
+
"components/form-elements/text-input.tokens": "enabled",
|
|
40
|
+
"components/searchbar.tokens": "enabled"
|
|
41
41
|
},
|
|
42
42
|
"$figmaVariableReferences": {},
|
|
43
43
|
"group": "GovNL"
|
|
@@ -73,6 +73,18 @@
|
|
|
73
73
|
"border-width": {
|
|
74
74
|
"$type": "dimension",
|
|
75
75
|
"$value": "{govnl.border.border-width.sm}"
|
|
76
|
+
},
|
|
77
|
+
"metadata-subheading": {
|
|
78
|
+
"color": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{govnl.document.subtle.color}"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"metadata-footer": {
|
|
84
|
+
"color": {
|
|
85
|
+
"$type": "color",
|
|
86
|
+
"$value": "{govnl.document.subtle.color}"
|
|
87
|
+
}
|
|
76
88
|
}
|
|
77
89
|
},
|
|
78
90
|
"heading": {
|
|
@@ -119,7 +131,41 @@
|
|
|
119
131
|
}
|
|
120
132
|
}
|
|
121
133
|
},
|
|
134
|
+
"metadata-subheading": {
|
|
135
|
+
"text-decoration-line": {
|
|
136
|
+
"$type": "textDecoration",
|
|
137
|
+
"$value": "none"
|
|
138
|
+
},
|
|
139
|
+
"font-family": {
|
|
140
|
+
"$type": "fontFamilies",
|
|
141
|
+
"$value": "{govnl.document.font-family}"
|
|
142
|
+
},
|
|
143
|
+
"font-size": {
|
|
144
|
+
"$type": "fontSizes",
|
|
145
|
+
"$value": "{govnl.document.font-size}"
|
|
146
|
+
},
|
|
147
|
+
"font-weight": {
|
|
148
|
+
"$type": "fontWeights",
|
|
149
|
+
"$value": "{govnl.document.font-weight}"
|
|
150
|
+
},
|
|
151
|
+
"line-height": {
|
|
152
|
+
"$type": "lineHeights",
|
|
153
|
+
"$value": "{govnl.document.line-height}"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
122
156
|
"accent": {
|
|
157
|
+
"metadata-subheading": {
|
|
158
|
+
"color": {
|
|
159
|
+
"$type": "color",
|
|
160
|
+
"$value": "{govnl.document.inverse.color}"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"metadata-footer": {
|
|
164
|
+
"color": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "{govnl.document.inverse.color}"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
123
169
|
"background-color": {
|
|
124
170
|
"$type": "color",
|
|
125
171
|
"$value": "{govnl.brand.primary-1.500}"
|
|
@@ -228,6 +274,28 @@
|
|
|
228
274
|
}
|
|
229
275
|
}
|
|
230
276
|
}
|
|
277
|
+
},
|
|
278
|
+
"metadata-footer": {
|
|
279
|
+
"text-decoration-line": {
|
|
280
|
+
"$type": "textDecoration",
|
|
281
|
+
"$value": "none"
|
|
282
|
+
},
|
|
283
|
+
"font-family": {
|
|
284
|
+
"$type": "fontFamilies",
|
|
285
|
+
"$value": "{govnl.document.font-family}"
|
|
286
|
+
},
|
|
287
|
+
"font-size": {
|
|
288
|
+
"$type": "fontSizes",
|
|
289
|
+
"$value": "{govnl.document.font-size}"
|
|
290
|
+
},
|
|
291
|
+
"font-weight": {
|
|
292
|
+
"$type": "fontWeights",
|
|
293
|
+
"$value": "{govnl.document.font-weight}"
|
|
294
|
+
},
|
|
295
|
+
"line-height": {
|
|
296
|
+
"$type": "lineHeights",
|
|
297
|
+
"$value": "{govnl.document.line-height}"
|
|
298
|
+
}
|
|
231
299
|
}
|
|
232
300
|
}
|
|
233
301
|
}
|