fix: styling object

This commit is contained in:
pandeymangg
2024-02-28 14:43:10 +05:30
parent 38c6cb01df
commit 08ccb954f3
2 changed files with 1 additions and 7 deletions

View File

@@ -26,12 +26,6 @@ async function main() {
brandColor: {
light: product.brandColor,
},
isDarkModeEnabled: false,
roundness: 8,
cardArrangement: {
linkSurveys: "simple",
inAppSurveys: "simple",
},
...(product.highlightBorderColor && {
highlightBorderColor: {
light: product.highlightBorderColor,

View File

@@ -21,7 +21,7 @@ export const ZStyling = z.object({
inputBorderColor: ZStylingColor.optional(),
cardBackgroundColor: ZStylingColor.optional(),
highlightBorderColor: ZStylingColor.optional(),
isDarkModeEnabled: z.boolean(),
isDarkModeEnabled: z.boolean().optional(),
roundness: z.number().optional(),
cardArrangement: ZCardArrangement.optional(),
});