mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-12 19:03:42 -05:00
fix: styling object
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user