@dictu/design-tokens 2.16.0 → 2.17.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @dictu/design-tokens
2
2
 
3
+ ## 2.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a9f9669: Fixes the card icon rendering in the wrong color. The optional card
8
+ icon inherited `currentColor`, falling back to plain black instead of a
9
+ design-system color. New `card.default.icon.color` and
10
+ `card.accent.icon.color` tokens are added and applied, so the icon matches the
11
+ heading color of its variant (`heading.color` for the default card,
12
+ `card.accent.color` for the accent card).
13
+
3
14
  ## 2.16.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.css CHANGED
@@ -1106,6 +1106,8 @@
1106
1106
  --govnl-link-as-button-secondary-action-hover-color: var(--govnl-interaction-hover-color);
1107
1107
  --govnl-link-as-button-secondary-action-active-border-color: var(--govnl-interaction-active-color);
1108
1108
  --govnl-link-as-button-secondary-action-active-color: var(--govnl-interaction-active-color);
1109
+ --govnl-card-default-icon-color: var(--govnl-heading-color);
1110
+ --govnl-card-accent-icon-color: var(--govnl-card-accent-color);
1109
1111
  --govnl-button-primary-action-hover-background-color: var(--govnl-interaction-hover-color);
1110
1112
  --govnl-button-primary-action-hover-border-color: var(--govnl-interaction-hover-color);
1111
1113
  --govnl-button-primary-action-active-background-color: var(--govnl-interaction-active-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dictu/design-tokens",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "author": "Dienst ICT Uitvoering",
5
5
  "description": "Design Tokens for DICTU Design system, based on the NL Design System architecture",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -85,6 +85,12 @@
85
85
  "$type": "color",
86
86
  "$value": "{govnl.document.subtle.color}"
87
87
  }
88
+ },
89
+ "icon": {
90
+ "color": {
91
+ "$type": "color",
92
+ "$value": "{govnl.heading.color}"
93
+ }
88
94
  }
89
95
  },
90
96
  "heading": {
@@ -154,6 +160,12 @@
154
160
  }
155
161
  },
156
162
  "accent": {
163
+ "icon": {
164
+ "color": {
165
+ "$type": "color",
166
+ "$value": "{govnl.card.accent.color}"
167
+ }
168
+ },
157
169
  "metadata-subheading": {
158
170
  "color": {
159
171
  "$type": "color",