fix scroll indicator and download button

This commit is contained in:
dong.nguyen committed 2026-10-13 10:22:10 +07:00
1 parent a783791513
commit f1d249061e
2 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const ThemeContext = createContext<ThemeContextValue | undefined>(undefined)
const STORAGE_KEY = 'portfolio-theme'
function getSystemTheme(): 'dark' | 'light' {
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
return window.matchMedia('(prefers-color-scheme: light)').matches ? 'dark' : 'light'
}
function getStoredTheme(): Theme {