Skip to main content

Function: initThemeColors()

initThemeColors(colors): void

Defined in: lib/styling/theme.ts:43

Initializes or updates the application's theme colors. This function mutates the themeColors object and freezes it to prevent further changes.

Parameters

colors

An object containing the new color values for the theme

background

string = '#FF0077'

border

string = '#FF0077'

destructive

string = '#FF0077'

destructiveDarker

string = '#FF0077'

destructiveForeground

string = '#FF0077'

errorForeground

string = '#FF0077'

foreground

string = '#FF0077'

foregroundLight

string = '#FF0077'

info

string = '#FF0077'

infoForeground

string = '#FF0077'

infoLight

string = '#FF0077'

input

string = '#FF0077'

muted

string = '#FF0077'

mutedForeground

string = '#FF0077'

primary

string = '#FF0077'

primaryForeground

string = '#FF0077'

primaryLight

string = '#FF0077'

secondary

string = '#FF0077'

secondaryDarker

string = '#FF0077'

secondaryForeground

string = '#FF0077'

warningForeground

string = '#FF0077'

Returns

void