Return custom CSS variable defaults for the given mode.
Most styling is handled by Textual's built-in CSS variables ($primary,
$text-muted, $error-muted, etc.). This function only returns
app-specific semantic variables that have no Textual equivalent.
get_css_variable_defaults(
*,
dark: bool = True,
colors: ThemeColors | None = None
) -> dict[str, str]| Name | Type | Description |
|---|---|---|
dark | bool | Default: TrueSelects |
colors | ThemeColors | None | Default: NoneExplicit color set to use. Takes precedence over |