feat: range of font size (#1376)
This commit is contained in:
parent
85be61a316
commit
1a577343da
20 changed files with 86 additions and 102 deletions
|
@ -1,6 +1,10 @@
|
|||
import { DEFAULT_FONT_SIZE } from '~/constants'
|
||||
|
||||
export type FontSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
||||
export type FontSize = `${number}px`
|
||||
|
||||
// Temporary type for backward compatibility
|
||||
export type OldFontSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
||||
|
||||
export type ColorMode = 'light' | 'dark' | 'system'
|
||||
|
||||
export interface PreferencesSettings {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue