@kungal/ui-tokens 0.7.0 → 0.9.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tokens.css +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungal/ui-tokens",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "KunUI design tokens — framework-agnostic Tailwind v4 theme (semantic colors, radius, z-index, animations).",
5
5
  "type": "module",
6
6
  "keywords": [
package/src/tokens.css CHANGED
@@ -148,9 +148,9 @@
148
148
  * Tailwind v4 @theme auto-generates rounded-kun-none / -sm / -md / -lg / -full;
149
149
  * the framework-agnostic class map lives in @kungal/ui-core (kunRoundedClasses). */
150
150
  --radius-kun-none: 0;
151
- --radius-kun-sm: calc(0.25rem * var(--kun-radius-scale, 1));
152
- --radius-kun-md: calc(0.5rem * var(--kun-radius-scale, 1));
153
- --radius-kun-lg: calc(0.75rem * var(--kun-radius-scale, 1));
151
+ --radius-kun-sm: calc(0.375rem * var(--kun-radius-scale, 1)); /* 6px */
152
+ --radius-kun-md: calc(0.75rem * var(--kun-radius-scale, 1)); /* 12px — HeroUI-style default control radius */
153
+ --radius-kun-lg: calc(1rem * var(--kun-radius-scale, 1)); /* 16px — containers / floating panels */
154
154
  --radius-kun-full: 9999px;
155
155
 
156
156
  /* z-index layering — floating UI must stack predictably so a popover