Dark and black color swatches are hard to see in dark mode - they blend into the background.
Proposed Solution
Light mode: black border (current)
Dark mode: white/light border
.color-swatch{border:1pxsolidvar(--border-color);}/* or based on theme */[data-theme="dark"].color-swatch{border-color:rgba(255,255,255,0.3);}
Simple CSS fix for accessibility.
## Summary
Add white border around color swatches in dark mode for better visibility of dark/black colors.
## Upstream Issue
- https://github.com/Donkie/Spoolman/issues/597
## Problem
Dark and black color swatches are hard to see in dark mode - they blend into the background.
## Proposed Solution
- Light mode: black border (current)
- Dark mode: white/light border
```css
.color-swatch {
border: 1px solid var(--border-color);
}
/* or based on theme */
[data-theme="dark"] .color-swatch {
border-color: rgba(255, 255, 255, 0.3);
}
```
Simple CSS fix for accessibility.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Add white border around color swatches in dark mode for better visibility of dark/black colors.
Upstream Issue
Problem
Dark and black color swatches are hard to see in dark mode - they blend into the background.
Proposed Solution
Simple CSS fix for accessibility.