mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-12 07:12:52 +01:00
feat: light/dark modes switch immediately with the system theme (#95)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import type { LIGHT_MODE, DARK_MODE, AUTO_MODE } from "@constants/constants"
|
||||
|
||||
export type SiteConfig = {
|
||||
title: string
|
||||
subtitle: string
|
||||
@@ -17,7 +19,7 @@ export type SiteConfig = {
|
||||
}
|
||||
|
||||
export type Favicon = {
|
||||
src: string,
|
||||
src: string
|
||||
theme?: 'light' | 'dark'
|
||||
sizes?: string
|
||||
}
|
||||
@@ -54,3 +56,5 @@ export type LicenseConfig = {
|
||||
name: string
|
||||
url: string
|
||||
}
|
||||
|
||||
export type LIGHT_DARK_MODE = typeof LIGHT_MODE | typeof DARK_MODE | typeof AUTO_MODE
|
||||
|
||||
Reference in New Issue
Block a user