jasmincss 1.0.2 → 1.0.3
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/JASMINCSS-GUIDE.md +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/dist/jasmin.css +4 -4
- package/dist/jasmin.min.css +1 -1
- package/dist/plugins/jasmin-loader.js +2 -1
- package/dist/plugins/jasmin-loader.mjs +2 -1
- package/dist/plugins/nextjs.js +2 -1
- package/dist/plugins/nextjs.mjs +2 -1
- package/dist/plugins/vite.js +2 -1
- package/dist/plugins/vite.mjs +2 -1
- package/package.json +1 -1
- package/src/config/loader.js +3 -1
package/JASMINCSS-GUIDE.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -401,7 +401,8 @@ function generateCssVariables(config) {
|
|
|
401
401
|
}
|
|
402
402
|
if (spacing) {
|
|
403
403
|
Object.entries(spacing).forEach(([key, value]) => {
|
|
404
|
-
|
|
404
|
+
const safeKey = String(key).replace(/\./g, "_");
|
|
405
|
+
vars[`--j-space-${safeKey}`] = value;
|
|
405
406
|
});
|
|
406
407
|
}
|
|
407
408
|
if (branding.typography) {
|
package/dist/index.mjs
CHANGED
|
@@ -358,7 +358,8 @@ function generateCssVariables(config) {
|
|
|
358
358
|
}
|
|
359
359
|
if (spacing) {
|
|
360
360
|
Object.entries(spacing).forEach(([key, value]) => {
|
|
361
|
-
|
|
361
|
+
const safeKey = String(key).replace(/\./g, "_");
|
|
362
|
+
vars[`--j-space-${safeKey}`] = value;
|
|
362
363
|
});
|
|
363
364
|
}
|
|
364
365
|
if (branding.typography) {
|
package/dist/jasmin.css
CHANGED
|
@@ -124,10 +124,10 @@ button, [role="button"] {
|
|
|
124
124
|
--j-space-80: 20rem;
|
|
125
125
|
--j-space-96: 24rem;
|
|
126
126
|
--j-space-px: 1px;
|
|
127
|
-
--j-space-
|
|
128
|
-
--j-space-
|
|
129
|
-
--j-space-
|
|
130
|
-
--j-space-
|
|
127
|
+
--j-space-0_5: 0.125rem;
|
|
128
|
+
--j-space-1_5: 0.375rem;
|
|
129
|
+
--j-space-2_5: 0.625rem;
|
|
130
|
+
--j-space-3_5: 0.875rem;
|
|
131
131
|
--j-font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
|
132
132
|
--j-font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
133
133
|
--j-font-size-base: 16px;
|