@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/theming",
3
- "version": "0.1.3",
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": "^3.2.1"
30
+ "vitest": "^4.1.7"
31
31
  },
32
32
  "scripts": {
33
33
  "test": "vitest run"
@@ -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
  }
package/src/index.js CHANGED
@@ -22,6 +22,7 @@ export {
22
22
  generateThemeCSS,
23
23
  generateContextCSS,
24
24
  generatePaletteVars,
25
+ generateFoundationVars,
25
26
  getDefaultContextTokens,
26
27
  getDefaultColors,
27
28
  extractUsedFamilies,