Interface: UseThemeClassesReturn
Defined in: src/theme/useTheme.ts:63
Interface for useThemeClasses hook return type.
Propertiesโ
getBackgroundClass()โ
getBackgroundClass: (
variant?:"primary"|"secondary"|"tertiary") => {backgroundColor:string; }
Defined in: src/theme/useTheme.ts:64
Parametersโ
variant?โ
"primary" | "secondary" | "tertiary"
Returnsโ
{ backgroundColor: string; }
backgroundColorโ
backgroundColor:
string
getBorderClass()โ
getBorderClass: (
variant?:"focus"|"primary"|"secondary") => {borderColor:string; }
Defined in: src/theme/useTheme.ts:67
Parametersโ
variant?โ
"focus" | "primary" | "secondary"
Returnsโ
{ borderColor: string; }
borderColorโ
borderColor:
string
getColor()โ
getColor: (
path:string) =>string
Defined in: src/theme/useTheme.ts:70
Parametersโ
pathโ
string
Returnsโ
string
getStatusClass()โ
getStatusClass: (
status:"unknown"|"degraded"|"down"|"up"|"paused"|"pending"|"mixed") => {color:string; }
Defined in: src/theme/useTheme.ts:71
Parametersโ
statusโ
"unknown" | "degraded" | "down" | "up" | "paused" | "pending" | "mixed"
Returnsโ
{ color: string; }
colorโ
color:
string
getSurfaceClass()โ
getSurfaceClass: (
variant?:"base"|"elevated"|"overlay") => {backgroundColor:string; }
Defined in: src/theme/useTheme.ts:74
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:77
Parametersโ
variant?โ
"primary" | "secondary" | "tertiary" | "inverse"
Returnsโ
{ color: string; }
colorโ
color:
string