Commit 64ac30f
committed
Add dark theme styles for DocSearch modal
Introduce dark-mode CSS for the DocSearch modal by adding a set of CSS custom properties under [data-theme="dark"] .DocSearch-Modal (colors, backgrounds, shadows, muted/logo colors, footer and hit styles). Also style command/escape keys for dark mode and tweak .DocSearch-Button-Key dark variant to use black text on white background with white border to improve contrast in dark theme.1 parent 97fea1c commit 64ac30f
1 file changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
38 | 65 | | |
39 | 66 | | |
40 | 67 | | |
| |||
48 | 75 | | |
49 | 76 | | |
50 | 77 | | |
51 | | - | |
| 78 | + | |
52 | 79 | | |
53 | 80 | | |
54 | 81 | | |
| |||
0 commit comments