System config parameter view

This commit is contained in:
notmd
2023-02-02 20:23:00 +07:00
parent caa6331a72
commit 28ee771a97
12 changed files with 223 additions and 178 deletions
+12 -2
View File
@@ -17,11 +17,21 @@ export const cardTheme = defineMultiStyleConfig({
footer: {},
};
}),
variants: {
elevated: definePartsStyle({
sizes: {
md: definePartsStyle({
container: {
borderRadius: "xl",
},
}),
},
variants: {
json: definePartsStyle(({ colorMode }) => {
const isLightMode = colorMode === "light";
return {
container: {
backgroundColor: isLightMode ? "gray.100" : "gray.800",
},
};
}),
},
});