Create a new ThemeColors by overlaying overrides onto a base.
Fields present in overrides replace the corresponding base value;
missing fields inherit from base. This lets users specify only the
colors they want to customize.
merged(
cls,
base: ThemeColors,
overrides: dict[str, str]
) -> ThemeColors| Name | Type | Description |
|---|---|---|
base* | ThemeColors | Fallback color set for any field not in |
overrides* | dict[str, str] | Field-name to hex-color mapping. Unknown keys are silently ignored. |