Versions in this module Expand all Collapse all v1 v1.0.0 Feb 3, 2026 Changes in this version + const CSSVarAccentError + const CSSVarAccentInfo + const CSSVarAccentPrimary + const CSSVarAccentSecondary + const CSSVarAccentSuccess + const CSSVarAccentWarning + const CSSVarBGPrimary + const CSSVarBGSecondary + const CSSVarBGTertiary + const CSSVarBorderColor + const CSSVarInputBG + const CSSVarInputBorder + const CSSVarInputFocus + const CSSVarLinkColor + const CSSVarLinkHover + const CSSVarShadowColor + const CSSVarTextMuted + const CSSVarTextPrimary + const CSSVarTextSecondary + var Dark = Theme + var Light = Theme + var Themes = map[string]Theme + func AvailableThemes() []string + func DetectSystemDark() bool + func GenerateThemeCSS() string + type Color struct + Hex string + Name string + RGB string + type Theme struct + Colors ThemeColors + Description string + IsDark bool + Name string + func GetSystemTheme() Theme + func GetTheme(name string) Theme + func (t Theme) GenerateCSS() string + func (t Theme) GenerateCSSBlock(selector string) string + func (t Theme) GenerateLipglossStyles() string + func (t Theme) ToCSSVariables() map[string]string + func (t Theme) ToJSON() string + type ThemeColors struct + AccentError Color + AccentInfo Color + AccentPrimary Color + AccentSecondary Color + AccentSuccess Color + AccentWarning Color + BGPrimary Color + BGSecondary Color + BGTertiary Color + BorderColor Color + InputBG Color + InputBorder Color + InputFocus Color + LinkColor Color + LinkHover Color + ShadowColor Color + TextMuted Color + TextPrimary Color + TextSecondary Color