mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
Add theme schema
This commit is contained in:
@@ -211,3 +211,26 @@ export type ConfigurationValue<
|
||||
> = z.infer<typeof Schema_App_Configuration>[T][K];
|
||||
|
||||
export type ConfigState = "idle" | "loading";
|
||||
|
||||
export const Schema_Theme = z.object({
|
||||
"background": z.string(),
|
||||
"foreground": z.string(),
|
||||
"card": z.string(),
|
||||
"card-foreground": z.string(),
|
||||
"popover": z.string(),
|
||||
"popover-foreground": z.string(),
|
||||
"primary": z.string(),
|
||||
"primary-foreground": z.string(),
|
||||
"secondary": z.string(),
|
||||
"secondary-foreground": z.string(),
|
||||
"muted": z.string(),
|
||||
"muted-foreground": z.string(),
|
||||
"accent": z.string(),
|
||||
"accent-foreground": z.string(),
|
||||
"destructive": z.string(),
|
||||
"destructive-foreground": z.string(),
|
||||
"border": z.string(),
|
||||
"input": z.string(),
|
||||
"ring": z.string(),
|
||||
"radius": z.string(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user