Skip to content

Commit 5dbfb7b

Browse files
committed
feat: new logos
1 parent b5b0dd3 commit 5dbfb7b

File tree

6 files changed

+11
-2
lines changed

6 files changed

+11
-2
lines changed

public/brand_logo.png

-46.1 KB
Loading

public/brand_logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/brand_logo_dark.png

12.2 KB
Loading

src/app/favicon.ico

-59.6 KB
Binary file not shown.

src/components/menu-settings/Menu.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ export default function MenuSettings() {
140140
alt="logo"
141141
width={320}
142142
height={100}
143+
className={`${
144+
settings.theme.background.color === "light"
145+
? "invert"
146+
: "invert-0"
147+
}`}
143148
/>
144149

145150
<div className="text-center w-11/12 italic mx-auto text-sm">

src/components/sheets/sheet-solve-details/SheetSolveDetails.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
} from "@/components/ui/sheet";
99
import formatTime from "@/lib/formatTime";
1010
import { useDialogSolve } from "@/store/DialogSolve";
11+
import { useSettingsModalStore } from "@/store/SettingsModalStore";
1112
import { useTimerStore } from "@/store/timerStore";
1213
import {
1314
CalendarIcon,
@@ -22,6 +23,7 @@ export default function SheetSolveDetails() {
2223
const { handleCloseDialogSolve } = useDialogSolve();
2324
const { solve } = useDialogSolve();
2425
const { selectedCube } = useTimerStore();
26+
const { settings } = useSettingsModalStore();
2527
const locale = useLocale();
2628

2729
return (
@@ -92,7 +94,10 @@ export default function SheetSolveDetails() {
9294
alt="logo nexustimer"
9395
width={170}
9496
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}
96101
/>
97102
</SheetHeader>
98103
</SheetContent>

0 commit comments

Comments
 (0)