@vettvangur/design-system 2.0.72 → 2.0.73
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 +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2667,6 +2667,11 @@ const renderApplyLine = (prefix, token, indent = ' ') => {
|
|
|
2667
2667
|
// If the token itself starts with `text-` (e.g. `text-grey`), we still prefix it: `text-text-grey`.
|
|
2668
2668
|
return `${indent}@apply text-${token};\n`;
|
|
2669
2669
|
}
|
|
2670
|
+
if (prefix === 'border') {
|
|
2671
|
+
// Tailwind border color utilities are always `border-{token}`.
|
|
2672
|
+
// If the token includes `border-` (e.g. `border-default`), this becomes `border-border-default`.
|
|
2673
|
+
return `${indent}@apply border-${token};\n`;
|
|
2674
|
+
}
|
|
2670
2675
|
return `${indent}@apply ${prefix}-${token};\n`;
|
|
2671
2676
|
};
|
|
2672
2677
|
function renderUtility(name, base, hover) {
|