@uniweb/theming 0.1.3 → 0.1.4
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/package.json +2 -2
- package/src/css-generator.js +1 -1
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/theming",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Theming utilities for the Uniweb platform — shade generation, CSS generation, theme processing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=20.19"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"vitest": "^
|
|
30
|
+
"vitest": "^4.1.7"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"test": "vitest run"
|
package/src/css-generator.js
CHANGED
|
@@ -418,7 +418,7 @@ const PALETTE_SHADE_RE = /^(primary|secondary|accent|neutral)-\d+$/
|
|
|
418
418
|
* @param {Object} vars - Foundation variables from vars.js
|
|
419
419
|
* @returns {string} CSS variable declarations
|
|
420
420
|
*/
|
|
421
|
-
function generateFoundationVars(vars = {}) {
|
|
421
|
+
export function generateFoundationVars(vars = {}) {
|
|
422
422
|
if (!vars || Object.keys(vars).length === 0) {
|
|
423
423
|
return ''
|
|
424
424
|
}
|