Commit 54d37eb
authored
v6: Fix doc explorer search popover shadow in light theme (#4417)
## Summary
The doc explorer's search input and results popover had their shadow
hardcoded to `0 4px 12px oklch(0% 0 0 / 0.3)`. That's the dark-theme
value of `--shadow-popover`, pasted in as a literal instead of a
reference, and it's missing the token's second, subtler shadow layer
too. Every other popover in the app (dialog, dropdown, tooltip) reads
`var(--shadow-popover)` and re-themes on its own, so in light theme this
one was casting a shadow roughly four times heavier than its siblings.
Both spots now read the token directly.
## Test plan
- [x] Switch to light theme, open the doc explorer, and focus the search
box. The active-state input and the results popover both cast a soft,
light-appropriate shadow, not a heavy dark one.
- [x] Switch to dark theme and confirm the search popover shadow still
matches other popovers (dialog, dropdown, tooltip).
Refs: #42191 parent 340d33d commit 54d37eb
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments