Commit 6e8c5d1
committed
🌗 feat: Add dark theme support for logo in Update component
The `Update` component in `src/components/Update.tsx` is enhanced with dark theme support. It now includes a conditional rendering of the ScreenLink logo based on the current theme. This is achieved by importing a new `screenlinkLogoDark` asset and utilizing the `useTheme` hook to determine the active theme. If the dark theme is active, the component renders the `screenlinkLogoDark`; otherwise, it displays the standard `screenlinkLogo`. This change improves the visual consistency and user experience, especially for users who prefer dark mode interfaces.1 parent 843124f commit 6e8c5d1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments