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('

Module: data/themes

Enumerations

Themes

Themes: Object

An enum of all available themes and their internal IDs. The keys are their display names.

NameType
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.

NameTypeDescription
floatingTabsbooleanWhether or not tabs should "float" in the center of their container.
mergeAdjacentbooleanWhether 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.
showPinbooleanWhether or not to show a pin icon on pinned tooltips.
variablesThemeVarsThe 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.

NameType
--accent1string
--accent2string
--accent3string
--backgroundstring
--border-radiusstring
--boughtstring
--dangerstring
--feature-foregroundstring
--feature-marginstring
--foregroundstring
--highlightedstring
--linkstring
--lockedstring
--modal-borderstring
--outlinestring
--pointsstring
--raised-backgroundstring
--tooltip-backgroundstring

Defined in

profectus/src/data/themes.ts:2

Variables

default

default: Record<Themes, Theme>

A dictionary of all available themes.

Defined in

profectus/src/data/themes.ts:81

',28),r=[o];function n(s,i,c,h,f,g){return a(),e("div",null,r)}const y=t(l,[["render",n]]);export{u as __pageData,y as default};