@timmo001/groundwork-tokens 0.7.0 → 0.9.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.
@@ -172,7 +172,8 @@ gw-theme-gallery:not(:defined) {
172
172
  display: block;
173
173
  }
174
174
 
175
- gw-button[icon]:not(:defined) {
175
+ gw-button[icon]:not(:defined),
176
+ gw-button[swatch]:not(:defined) {
176
177
  padding-inline-start: calc(var(--gw-space-4) + var(--gw-space-2) + 1.125rem + 1px);
177
178
  }
178
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timmo001/groundwork-tokens",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Groundwork's design tokens: the theme schema, the OKLCH solver and every theme as CSS and JSON",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/generate.ts CHANGED
@@ -279,7 +279,7 @@ const preUpgrade = {
279
279
  "vertical-align": "middle",
280
280
  },
281
281
  "gw-theme-gallery": { display: "block" },
282
- "gw-button[icon]": {
282
+ "gw-button[icon], gw-button[swatch]": {
283
283
  "padding-inline-start":
284
284
  "calc(var(--gw-space-4) + var(--gw-space-2) + 1.125rem + 1px)",
285
285
  },