File tree Expand file tree Collapse file tree 6 files changed +11
-2
lines changed
sheets/sheet-solve-details Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -140,6 +140,11 @@ export default function MenuSettings() {
140
140
alt = "logo"
141
141
width = { 320 }
142
142
height = { 100 }
143
+ className = { `${
144
+ settings . theme . background . color === "light"
145
+ ? "invert"
146
+ : "invert-0"
147
+ } `}
143
148
/>
144
149
145
150
< div className = "text-center w-11/12 italic mx-auto text-sm" >
Original file line number Diff line number Diff line change 8
8
} from "@/components/ui/sheet" ;
9
9
import formatTime from "@/lib/formatTime" ;
10
10
import { useDialogSolve } from "@/store/DialogSolve" ;
11
+ import { useSettingsModalStore } from "@/store/SettingsModalStore" ;
11
12
import { useTimerStore } from "@/store/timerStore" ;
12
13
import {
13
14
CalendarIcon ,
@@ -22,6 +23,7 @@ export default function SheetSolveDetails() {
22
23
const { handleCloseDialogSolve } = useDialogSolve ( ) ;
23
24
const { solve } = useDialogSolve ( ) ;
24
25
const { selectedCube } = useTimerStore ( ) ;
26
+ const { settings } = useSettingsModalStore ( ) ;
25
27
const locale = useLocale ( ) ;
26
28
27
29
return (
@@ -92,7 +94,10 @@ export default function SheetSolveDetails() {
92
94
alt = "logo nexustimer"
93
95
width = { 170 }
94
96
height = { 80 }
95
- className = "object-scale-down mx-auto pt-10"
97
+ className = { `object-scale-down mx-auto pt-10 ${
98
+ settings . theme . background . color === "light" ? "invert" : "invert-0"
99
+ } `}
100
+ draggable = { false }
96
101
/>
97
102
</ SheetHeader >
98
103
</ SheetContent >
You can’t perform that action at this time.
0 commit comments