Theme
theme
#
#
ParametersParameter | Type | Description |
---|---|---|
default_color_mode | String | Sets the default color mode. Must be light or dark . If no default mode is specified, hyperglass will use the browser's preferred color mode. |
#
SubsectionsSection | Description | All Options |
---|---|---|
colors | Theme colors | ➡️ |
fonts | Theme fonts | ➡️ |
colors
#
Parameter | Type | Default | Description |
---|---|---|---|
primary | String | Primary accent color | |
secondary | String | Secondary accent color | |
success | String | Success message/status color | |
warning | String | Warning message/status color | |
error | String | Error message/status color | |
danger | String | Danger message/status color | |
dark | String | #121212 | Used as background color in dark mode |
light | String | #f5f6f7 | Used as background color in light mode |
red | String | #d84b4b | Used as danger color if undefined |
orange | String | #ff6b35 | Used as error color if undefined |
yellow | String | #edae49 | Used as warning color if undefined |
green | String | #35b246 | Used as success color if undefined |
cyan | String | #118ab2 | Used as primary color if undefined |
blue | String | #314cb6 | Used as secondary color if undefined |
teal | String | #35b299 | |
pink | String | #f2607d | |
purple | String | #8d30b5 | |
gray | String | #c1c7cc |
fonts
#
Currently, only Google Fonts are supported.
Parameter | Type | Default | Description |
---|---|---|---|
body | String | Nunito | Main body font |
mono | String | Fira Code | Monospace font, used for command output |