@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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/preset.js +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const A4UI_VERSION = "0.4.
|
|
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
package/package.json
CHANGED
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(
|
|
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
|
|
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(
|
|
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) ----
|