Module: data/themes
Enumerations
Themes
• Themes: Object
An enum of all available themes and their internal IDs. The keys are their display names.
Name | Type |
---|---|
Aqua | "aqua" |
Classic | "classic" |
Nordic | "nordic" |
Paper | "paper" |
Defined in
profectus/src/data/themes.ts:73
Interfaces
Theme
• Theme: Object
An object representing a theme the player can use to change the look of the game.
Name | Type | Description |
---|---|---|
floatingTabs | boolean | Whether or not tabs should "float" in the center of their container. |
mergeAdjacent | boolean | Whether or not adjacent features should merge together - removing the margin between them, and only applying the border radius to the first and last elements in the row or column. |
showPin | boolean | Whether or not to show a pin icon on pinned tooltips. |
variables | ThemeVars | The values of the theme's CSS variables. |
Defined in
profectus/src/data/themes.ts:24
ThemeVars
• ThemeVars: Object
A object of all CSS variables determined by the current theme.
Name | Type |
---|---|
--accent1 | string |
--accent2 | string |
--accent3 | string |
--background | string |
--border-radius | string |
--bought | string |
--danger | string |
--feature-foreground | string |
--feature-margin | string |
--foreground | string |
--highlighted | string |
--link | string |
--locked | string |
--modal-border | string |
--outline | string |
--points | string |
--raised-background | string |
--tooltip-background | string |
Defined in
profectus/src/data/themes.ts:2
Variables
default
• default: Record
<Themes
, Theme
>
A dictionary of all available themes.