Skip to content

Commit 52544cc

Browse files
committed
Update color scheme
1 parent d06459f commit 52544cc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

web/src/components/item/ItemPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const AvatarHolder: FC<{
7070
)}
7171
<Avatar.Fallback
7272
className={clsx(
73-
'flex h-full w-full items-center justify-center bg-gray-200 text-base font-medium leading-none text-pink-500',
73+
'bg-backgroundSecondary flex h-full w-full items-center justify-center text-base font-medium leading-none text-pink-500',
7474
size === 'compact' && '!text-[0.6em]'
7575
)}
7676
delayMs={0}

web/src/styles/index.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@
3131

3232
@media (prefers-color-scheme: dark) {
3333
:root {
34-
--background: 222.2 47.4% 11.2%;
35-
--foreground: 210 40% 98%;
36-
--card: 222.2 47.4% 11.2%;
37-
--card-foreground: 210 40% 98%;
38-
--border: 214.3 31.8% 15.3%;
34+
--background: 240 8% 7%;
35+
--background-secondary: 240 5% 15%;
36+
--foreground: 240 9% 75%;
37+
--border: 240 5% 15%;
3938
}
4039
}
4140
}

web/tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88
input: 'hsl(var(--input))',
99
ring: 'hsl(var(--ring))',
1010
background: 'hsl(var(--background))',
11+
backgroundSecondary: 'hsl(var(--background-secondary))',
1112
foreground: 'hsl(var(--foreground))',
1213
primary: {
1314
DEFAULT: 'hsl(var(--primary))',

0 commit comments

Comments
 (0)