@alignui/cli 0.0.11 → 0.0.13
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 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -318,11 +318,11 @@ export default config;`,Zn=`<% if (config.tailwind.prefix) { %>@import "tailwind
|
|
|
318
318
|
|
|
319
319
|
/* AlignUI Typography System - Dynamic from tokens.ts */
|
|
320
320
|
<% Object.entries(JSON.parse(texts)).forEach(([key, value]) => { %>
|
|
321
|
-
--
|
|
322
|
-
<% if (Array.isArray(value) && value[1] && typeof value[1] === 'object') { %>--
|
|
323
|
-
<% if (value[1].letterSpacing) { %>--
|
|
324
|
-
<% if (value[1].fontWeight) { %>--
|
|
325
|
-
<% } else if (Array.isArray(value) && value[1]) { %>--
|
|
321
|
+
--text-<%- key %>: <%- Array.isArray(value) ? value[0] : value %>;
|
|
322
|
+
<% if (Array.isArray(value) && value[1] && typeof value[1] === 'object') { %>--text-<%- key %>--line-height: <%- value[1].lineHeight %>;
|
|
323
|
+
<% if (value[1].letterSpacing) { %>--text-<%- key %>--letter-spacing: <%- value[1].letterSpacing %>;<% } %>
|
|
324
|
+
<% if (value[1].fontWeight) { %>--text-<%- key %>--font-weight: <%- value[1].fontWeight %>;<% } %>
|
|
325
|
+
<% } else if (Array.isArray(value) && value[1]) { %>--text-<%- key %>--line-height: <%- value[1] %>;<% } %>
|
|
326
326
|
<% }); %>
|
|
327
327
|
|
|
328
328
|
/* AlignUI Shadow System - Dynamic from tokens.ts */
|