#custom color with typescript ?
19 messages · Page 1 of 1 (latest)
what is the type of custom colors?
yes but what is the output of MantineThemeOverride['colors']
you would have to define a custom interface or type for typescript to know
something like this
so i cant extend mantine theme directly to colors file? or i have to declare global module for this ?
can u give me some idea m new to typescript
interface CustomColor extends MantineColor {
brand: string[];
}
its not working
@cloud vapor