Skip to main content

Interface: UseThemeClassesReturn

Defined in: src/theme/useTheme.ts:49

Interface for useThemeClasses hook return type.

Propertiesโ€‹

getBackgroundClass()โ€‹

getBackgroundClass: (variant?: "primary" | "secondary" | "tertiary") => { backgroundColor: string; }

Defined in: src/theme/useTheme.ts:50

Parametersโ€‹

variant?โ€‹

"primary" | "secondary" | "tertiary"

Returnsโ€‹

{ backgroundColor: string; }

backgroundColorโ€‹

backgroundColor: string


getBorderClass()โ€‹

getBorderClass: (variant?: "primary" | "secondary" | "focus") => { borderColor: string; }

Defined in: src/theme/useTheme.ts:53

Parametersโ€‹

variant?โ€‹

"primary" | "secondary" | "focus"

Returnsโ€‹

{ borderColor: string; }

borderColorโ€‹

borderColor: string


getColor()โ€‹

getColor: (path: string) => string

Defined in: src/theme/useTheme.ts:56

Parametersโ€‹

pathโ€‹

string

Returnsโ€‹

string


getStatusClass()โ€‹

getStatusClass: (status: "down" | "paused" | "pending" | "up" | "mixed" | "unknown") => { color: string; }

Defined in: src/theme/useTheme.ts:57

Parametersโ€‹

statusโ€‹

"down" | "paused" | "pending" | "up" | "mixed" | "unknown"

Returnsโ€‹

{ color: string; }

colorโ€‹

color: string


getSurfaceClass()โ€‹

getSurfaceClass: (variant?: "base" | "elevated" | "overlay") => { backgroundColor: string; }

Defined in: src/theme/useTheme.ts:60

Parametersโ€‹

variant?โ€‹

"base" | "elevated" | "overlay"

Returnsโ€‹

{ backgroundColor: string; }

backgroundColorโ€‹

backgroundColor: string


getTextClass()โ€‹

getTextClass: (variant?: "primary" | "secondary" | "tertiary" | "inverse") => { color: string; }

Defined in: src/theme/useTheme.ts:63

Parametersโ€‹

variant?โ€‹

"primary" | "secondary" | "tertiary" | "inverse"

Returnsโ€‹

{ color: string; }

colorโ€‹

color: string