@a4ui/core 0.4.1 → 0.4.2

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const A4UI_VERSION = "0.4.1";
1
+ export declare const A4UI_VERSION = "0.4.2";
2
2
  export { cn } from './lib/cn';
3
3
  export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
4
4
  export { useEffects, isCalm, setEffects } from './lib/effects';
package/dist/index.js CHANGED
@@ -2424,7 +2424,7 @@ function Tl() {
2424
2424
  }
2425
2425
  Xn(e && gt(e) || Le);
2426
2426
  }
2427
- const Ml = "0.4.1";
2427
+ const Ml = "0.4.2";
2428
2428
  export {
2429
2429
  Ml as A4UI_VERSION,
2430
2430
  Mo as Accordion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a4ui/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "A4ui — Spatial Glass design system & component library for SolidJS (Kobalte behavior + Tailwind glass tokens + motion).",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/preset.js CHANGED
@@ -45,7 +45,7 @@ const glass = plugin(({ addComponents }) => {
45
45
  borderRadius: 'inherit',
46
46
  padding: '1px',
47
47
  background:
48
- 'radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), hsl(199 89% 65% / .9), hsl(217 91% 60% / .25) 45%, transparent 70%)',
48
+ 'radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--primary) / .9), hsl(var(--accent) / .25) 45%, transparent 70%)',
49
49
  WebkitMask: 'linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)',
50
50
  WebkitMaskComposite: 'xor',
51
51
  maskComposite: 'exclude',
@@ -57,11 +57,11 @@ const glass = plugin(({ addComponents }) => {
57
57
  '@media (prefers-reduced-motion: reduce)': {
58
58
  '.card.glow-edge::before': { display: 'none' },
59
59
  },
60
- // Light theme: the cyan glow is faint on white — thicker + more vivid.
60
+ // Light theme: the glow is faint on white — thicker + more vivid.
61
61
  "[data-theme='light'] .card.glow-edge::before": {
62
62
  padding: '1.5px',
63
63
  background:
64
- 'radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), hsl(199 98% 48% / 1), hsl(275 90% 58% / 0.55) 42%, transparent 72%)',
64
+ 'radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--primary) / 1), hsl(var(--accent) / 0.55) 42%, transparent 72%)',
65
65
  },
66
66
 
67
67
  // ---- Floating overlay glass (menus, modals, drawers, toasts) ----