@glasshome/ui 1.44.1 → 1.44.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/package.json +1 -1
- package/src/styles/globals.css +16 -7
package/package.json
CHANGED
package/src/styles/globals.css
CHANGED
|
@@ -284,14 +284,23 @@
|
|
|
284
284
|
* and inline style knobs still win. Rim shadows are declared on .glass (not
|
|
285
285
|
* :root) so calc(var(--glass-rim)) resolves per element, not frozen at :root. */
|
|
286
286
|
:root {
|
|
287
|
-
/* biome-ignore-start lint/correctness/noMissingVarFunction: transition-property takes property names, and these are the registered knobs */
|
|
288
287
|
--glass-transition:
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
288
|
+
color, background-color, border-color, box-shadow, opacity, transform, translate, scale, width,
|
|
289
|
+
height;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* WebKit before 17.4 resolves rem against 1px once a registered knob transitions, shrinking the surface. */
|
|
293
|
+
@supports (transition-behavior: allow-discrete) {
|
|
294
|
+
:root {
|
|
295
|
+
/* biome-ignore-start lint/correctness/noMissingVarFunction: transition-property takes property names */
|
|
296
|
+
--glass-transition:
|
|
297
|
+
--glass-tone, --glass-wash, --glass-light, --glass-shade, --glass-rim, --glass-lift,
|
|
298
|
+
--glass-glow, --glass-drop, --glass-text, --material-depth, --material-tint, --_material-edge,
|
|
299
|
+
--_material-sheen, --_material-shadow, --material-edge-width, --material-edge-ink,
|
|
300
|
+
--material-edge-accent, --material-glow, color, background-color, border-color, box-shadow,
|
|
301
|
+
opacity, transform, translate, scale, width, height;
|
|
302
|
+
/* biome-ignore-end lint/correctness/noMissingVarFunction: see above */
|
|
303
|
+
}
|
|
295
304
|
}
|
|
296
305
|
|
|
297
306
|
@layer utilities {
|