Type Alias: DeepThemeOverride
DeepThemeOverride =
PartialDeep
<ThemeConfig
>
Defined in: shared/types/themeConfig.ts:499
Deep partial theme configuration using type-fest's PartialDeep utility.
Remarksโ
Creates a type where all properties and nested properties are optional. This is useful for complex theme customization where you want to override deeply nested properties without having to specify entire sections.
Exampleโ
const deepCustomTheme: DeepThemeOverride = {
colors: {
text: {
primary: "#333333", // Only override this specific nested property
},
},
typography: {
fontSize: {
h1: "36px", // Only override this specific nested property
},
},
};