Commit 8cea9f5
feat: add themed custom scrollbar (#169)
Replace the default browser scrollbar with a custom themed one that
matches DevCard's brand gradient. CSS-only, no JavaScript.
- WebKit/Chromium/Safari: gradient thumb (primary -> accent), themed
track, hover state with glow.
- Firefox: scrollbar-width thin + scrollbar-color using the same theme
variables (solid thumb fallback since gradients aren't supported).
- Reuses existing --primary/--accent/--bg-secondary/--primary-glow
CSS variables so light/dark mode just work.
Closes #151.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3b4a027 commit 8cea9f5
1 file changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
0 commit comments