refactor: remove font sizes from the app (#3341)
* refactor: remove font size from settings * refactor: remove font size from themes * refactor: remove font size from spotlight * refactor: remove default font size * chore: clean up --------- Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
committed by
GitHub
parent
65ef4db86f
commit
a6b57777e3
@@ -23,10 +23,6 @@ export const HoppAccentColors = [
|
||||
|
||||
export type HoppAccentColor = (typeof HoppAccentColors)[number]
|
||||
|
||||
export const HoppFontSizes = ["small", "medium", "large"] as const
|
||||
|
||||
export type HoppFontSize = (typeof HoppFontSizes)[number]
|
||||
|
||||
export type SettingsDef = {
|
||||
syncCollections: boolean
|
||||
syncHistory: boolean
|
||||
@@ -49,7 +45,6 @@ export type SettingsDef = {
|
||||
EXPAND_NAVIGATION: boolean
|
||||
SIDEBAR: boolean
|
||||
SIDEBAR_ON_LEFT: boolean
|
||||
FONT_SIZE: HoppFontSize
|
||||
COLUMN_LAYOUT: boolean
|
||||
}
|
||||
|
||||
@@ -75,7 +70,6 @@ export const getDefaultSettings = (): SettingsDef => ({
|
||||
EXPAND_NAVIGATION: true,
|
||||
SIDEBAR: true,
|
||||
SIDEBAR_ON_LEFT: true,
|
||||
FONT_SIZE: "small",
|
||||
COLUMN_LAYOUT: true,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user