@vettvangur/design-system 2.0.71 → 2.0.72

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2663,7 +2663,9 @@ const renderApplyLine = (prefix, token, indent = ' ') => {
2663
2663
  return '';
2664
2664
  }
2665
2665
  if (prefix === 'text') {
2666
- return token.startsWith('text-') ? `${indent}@apply ${token};\n` : `${indent}@apply text-${token};\n`;
2666
+ // Tailwind text color utilities are always `text-{token}`.
2667
+ // If the token itself starts with `text-` (e.g. `text-grey`), we still prefix it: `text-text-grey`.
2668
+ return `${indent}@apply text-${token};\n`;
2667
2669
  }
2668
2670
  return `${indent}@apply ${prefix}-${token};\n`;
2669
2671
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettvangur/design-system",
3
- "version": "2.0.71",
3
+ "version": "2.0.72",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "type": "module",