Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: thumbnail default accent color base on theme

Faisal Amir46af6aeb9e14
diff --git a/web-app/src/containers/AccentColorPicker.tsx b/web-app/src/containers/AccentColorPicker.tsx
index 5fd632f0e..0389e3303 100644
--- a/web-app/src/containers/AccentColorPicker.tsx
+++ b/web-app/src/containers/AccentColorPicker.tsx
@@ -22,7 +22,7 @@ export function AccentColorPicker() {
'ring-2 ring-offset-2 ring-primary border-none'
)}
style={{
- backgroundColor: color.thumb,
+ backgroundColor: color.thumb === "#3F3F46" ? 'var(--background)' : color.thumb,
}}
/>
)