diff --git a/client/src/components/otherModels.tsx b/client/src/components/otherModels.tsx index 29af89f..e83d462 100644 --- a/client/src/components/otherModels.tsx +++ b/client/src/components/otherModels.tsx @@ -37,11 +37,13 @@ export function useSpoolmanFilamentFilter(enabled: boolean = false) { tooltipParts.push(
); diff --git a/client/src/components/spoolIcon.css b/client/src/components/spoolIcon.css index 23583c4..14851b8 100644 --- a/client/src/components/spoolIcon.css +++ b/client/src/components/spoolIcon.css @@ -22,7 +22,12 @@ .spool-icon * { flex: 1 1 0px; border-radius: 2px; - border: #44444430 solid 2px; + border: rgba(68, 68, 68, 0.3) solid 2px; +} + +/* Light border for dark mode to make dark colors visible */ +body[data-theme="dark"] .spool-icon * { + border-color: rgba(255, 255, 255, 0.3); } .spool-icon.vertical *:first-child { diff --git a/client/src/contexts/color-mode/index.tsx b/client/src/contexts/color-mode/index.tsx index f01ae72..20ee31a 100644 --- a/client/src/contexts/color-mode/index.tsx +++ b/client/src/contexts/color-mode/index.tsx @@ -32,6 +32,8 @@ export const ColorModeContextProvider: React.FC