支持系统深浅自适应同步

This commit is contained in:
cc
2026-02-21 23:23:40 +08:00
parent 5ab0466a87
commit acaac507b1
4 changed files with 39 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ import { create } from 'zustand'
import { persist } from 'zustand/middleware'
export type ThemeId = 'cloud-dancer' | 'corundum-blue' | 'kiwi-green' | 'spicy-red' | 'teal-water'
export type ThemeMode = 'light' | 'dark'
export type ThemeMode = 'light' | 'dark' | 'system'
export interface ThemeInfo {
id: ThemeId