@vettvangur/design-system 2.0.43 → 2.0.44

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2960,7 +2960,7 @@ async function generateHeadlines(sizes, lineHeights, config) {
2960
2960
  * rem(px)
2961
2961
  */
2962
2962
  function rem(value) {
2963
- return `${value}px`;
2963
+ return `${value}rem`;
2964
2964
  }
2965
2965
 
2966
2966
  /**
@@ -3221,6 +3221,7 @@ function generateSpacingCss(scales) {
3221
3221
  const lines = Array.from(map.entries()).map(([k, v]) => ` ${k}: ${v};`);
3222
3222
 
3223
3223
  // manual required defaults
3224
+ ensureVar(lines, '--spacing', '1px');
3224
3225
  ensureVar(lines, '--spacing-0', '0');
3225
3226
  ensureVar(lines, '--spacing-auto', 'auto');
3226
3227
  ensureVar(lines, '--spacing-full', '100%');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettvangur/design-system",
3
- "version": "2.0.43",
3
+ "version": "2.0.44",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "type": "module",