@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.
- package/dist/index.js +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
|
-
//
|
|
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
|
}
|