import{_ as t,c as e,o as a,N as d}from"./chunks/framework.0799945b.js";const u=JSON.parse('{"title":"Module: data/themes","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/data/themes.md","lastUpdated":null}'),l={name:"api/modules/data/themes.md"},o=d('
• 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" |
profectus/src/data/themes.ts:73
• 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. |
profectus/src/data/themes.ts:24
• 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 |
profectus/src/data/themes.ts:2
• default: Record
<Themes
, Theme
>
A dictionary of all available themes.