Theme

theme

Parameters

ParameterTypeDescription
default_color_modeStringSets the default color mode. Must be light or dark. If no default mode is specified, hyperglass will use the browser's preferred color mode.

Subsections

SectionDescriptionAll Options
colorsTheme colors➡️
fontsTheme fonts➡️

colors

ParameterTypeDefaultDescription
primaryStringPrimary accent color
secondaryStringSecondary accent color
successStringSuccess message/status color
warningStringWarning message/status color
errorStringError message/status color
dangerStringDanger message/status color
blackString
#121212
Used as background color in dark mode
whiteString
#f5f6f7
Used as background color in light mode
redString
#d84b4b
Used as danger color if undefined
orangeString
#ff6b35
Used as error color if undefined
yellowString
#edae49
Used as warning color if undefined
greenString
#35b246
Used as success color if undefined
cyanString
#118ab2
Used as primary color if undefined
blueString
#314cb6
Used as secondary color if undefined
tealString
#35b299
pinkString
#f2607d
purpleString
#8d30b5
grayString
#c1c7cc

fonts

Currently, only Google Fonts are supported.

ParameterTypeDefaultDescription
bodyStringNunitoMain body font
monoStringFira CodeMonospace font, used for command output