@vettvangur/design-system 2.0.66 → 2.0.67

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2304,8 +2304,8 @@ async function generateFile(variables, config) {
2304
2304
  css += ` --${key}: ${mobile};\n`;
2305
2305
  }
2306
2306
 
2307
- // Keep the -desktop key if a desktop mode exists, even if it matches mobile.
2308
- if (desktop != null) {
2307
+ // Only emit a -desktop override when it actually differs.
2308
+ if (desktop != null && desktop !== mobile) {
2309
2309
  css += ` --${key}-desktop: ${desktop};\n`;
2310
2310
  }
2311
2311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettvangur/design-system",
3
- "version": "2.0.66",
3
+ "version": "2.0.67",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "type": "module",