Color Swatch Border for Dark Mode Visibility #34

Closed
opened 2026-01-16 04:57:40 +00:00 by tonym · 0 comments
Owner

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

  • Light mode: black border (current)
  • Dark mode: white/light border
.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.

## 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.
tonym closed this issue 2026-01-23 03:03:24 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tonym/spoolman2#34
No description provided.