Commit 030e841
fix: use outline badge style for 'auto' label for reliable dark theme contrast
Badge tokens (--badge-bg/fg) resolved to low-contrast colors in some
dark themes. Switch to a theme-agnostic outline style that uses
--text-secondary for both the border and text color, with a transparent
background. This works in all themes since the color inherits from the
editor's description text, which always has sufficient contrast.
Also moves the badge styling into a dedicated .auto-badge CSS class
instead of inline styles.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 358a271 commit 030e841
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
357 | 370 | | |
0 commit comments