update homepage, css themes

This commit is contained in:
plebeius.eth
2024-03-15 22:42:13 +01:00
parent fa901009c3
commit 3f8d3dd9d1
4 changed files with 138 additions and 23 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ interface ThemeState {
}
const useThemeStore = create<ThemeState>((set: StoreApi<ThemeState>['setState']) => ({
theme: localStorage.getItem('theme') || 'yotsuba-b',
theme: localStorage.getItem('theme') || 'yotsuba',
setTheme: (theme: string) => {
localStorage.setItem('theme', theme);
set({ theme });