Type Parameters
| Type Parameter |
|---|
T extends Record<string, unknown> |
type Flattened<T> = { [K in KebabCasePaths<T>]: string };
| Type Parameter |
|---|
T extends Record<string, unknown> |
const themeOverrides: Partial<Flattened<typeof tokens>> = {
'colors-brand-primary': string;
'fontFamily-sans': string;
}
Was this page helpful?