@leavepulse/ui 0.37.11 → 0.38.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.
@@ -522,6 +522,27 @@
522
522
  --scrim-opacity: 0.78;
523
523
  }
524
524
 
525
+ /*
526
+ * Frosted overlay: a floating panel that lets the page show through, softened.
527
+ * For surfaces that float over everything and are read briefly (the command
528
+ * palette), where a hint of what lies beneath says "this is on top, the page
529
+ * is still there" better than a solid slab. The fill keeps enough opacity for
530
+ * text to read without the blur; where the blur does not composite
531
+ * (WebKitGTK, see above) the fill turns solid instead of leaving the page
532
+ * readable through it.
533
+ */
534
+ .lp-glass-overlay {
535
+ background-color: color-mix(in srgb, var(--color-surface-raised) var(--glass-overlay-fill, 82%), transparent);
536
+ -webkit-backdrop-filter: blur(var(--glass-overlay-blur, 24px)) saturate(140%);
537
+ backdrop-filter: blur(var(--glass-overlay-blur, 24px)) saturate(140%);
538
+ }
539
+
540
+ :root[data-lp-no-backdrop] .lp-glass-overlay {
541
+ background-color: var(--color-surface-raised);
542
+ -webkit-backdrop-filter: none;
543
+ backdrop-filter: none;
544
+ }
545
+
525
546
  /* The overlay gradient rides above the base fill but under the content. */
526
547
  .lp-skin-panel::before {
527
548
  content: "";
@@ -1,16 +0,0 @@
1
-
2
- /* Each result eases in; honours reduced motion. */
3
- .lp-cmd-item[data-v-dbc1130a] {
4
- animation: lp-cmd-in-dbc1130a 140ms ease-out both;
5
- }
6
- @keyframes lp-cmd-in-dbc1130a {
7
- from {
8
- opacity: 0;
9
- transform: translateY(3px);
10
- }
11
- }
12
- @media (prefers-reduced-motion: reduce) {
13
- .lp-cmd-item[data-v-dbc1130a] {
14
- animation: none;
15
- }
16
- }