@uniweb/kit 0.9.45 → 0.9.46
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/kit",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.46",
|
|
4
4
|
"description": "Standard component library for Uniweb foundations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"fuse.js": "^7.0.0",
|
|
41
41
|
"shiki": "^3.0.0",
|
|
42
42
|
"tailwind-merge": "^3.6.0",
|
|
43
|
-
"@uniweb/core": "0.7.
|
|
43
|
+
"@uniweb/core": "0.7.34",
|
|
44
44
|
"@uniweb/scene": "0.1.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -55,9 +55,14 @@ function readAppliedScheme() {
|
|
|
55
55
|
* Returns the Theme instance which provides methods like:
|
|
56
56
|
* - getColor(name, shade) - Get a color value
|
|
57
57
|
* - getPalette(name) - Get all shades for a color
|
|
58
|
-
* - getContextToken(context, token) - Get semantic token
|
|
59
58
|
* - getAppearance() - Get appearance configuration
|
|
60
59
|
*
|
|
60
|
+
* For a semantic token's ACTUAL value at some element, read the CSS variable
|
|
61
|
+
* rather than asking the theme: getComputedStyle(el).getPropertyValue('--heading').
|
|
62
|
+
* Only that accounts for the section's own `theme:` overrides and the active
|
|
63
|
+
* light/dark scheme. (`getContextToken`/`getContextTokens` were removed in
|
|
64
|
+
* 2026-07-28 for exactly this reason — see the note in @uniweb/core's theme.js.)
|
|
65
|
+
*
|
|
61
66
|
* @returns {Theme|null} Theme instance or null if not available
|
|
62
67
|
*
|
|
63
68
|
* @example
|