feat: add option to follow system color setting (#1012)

Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Closes https://github.com/elk-zone/elk/issues/1007
This commit is contained in:
Tom Sherman 2023-01-12 18:29:10 +00:00 committed by GitHub
parent c484117657
commit e9dccc9ef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

View file

@ -1,7 +1,7 @@
import { DEFAULT_FONT_SIZE, DEFAULT_LANGUAGE } from '~/constants'
export type FontSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
export type ColorMode = 'light' | 'dark'
export type ColorMode = 'light' | 'dark' | 'system'
export interface FeatureFlags {
experimentalVirtualScroller: boolean