diff --git a/apps/web/lib/styling/constants.ts b/apps/web/lib/styling/constants.ts index 0d43306047..3986e18339 100644 --- a/apps/web/lib/styling/constants.ts +++ b/apps/web/lib/styling/constants.ts @@ -34,10 +34,6 @@ export const defaultStyling: TProjectStyling = { isLogoHidden: false, highlightBorderColor: undefined, isDarkModeEnabled: false, - background: { - bg: "#fff", - bgType: "color", - }, roundness: 8, cardArrangement: { linkSurveys: "straight", diff --git a/apps/web/modules/projects/settings/look/components/theme-styling.tsx b/apps/web/modules/projects/settings/look/components/theme-styling.tsx index f387cae82b..133f532a20 100644 --- a/apps/web/modules/projects/settings/look/components/theme-styling.tsx +++ b/apps/web/modules/projects/settings/look/components/theme-styling.tsx @@ -29,7 +29,7 @@ import { useCallback, useState } from "react"; import { SubmitHandler, UseFormReturn, useForm } from "react-hook-form"; import toast from "react-hot-toast"; import { TProjectStyling, ZProjectStyling } from "@formbricks/types/project"; -import { TSurvey, TSurveyStyling, TSurveyType } from "@formbricks/types/surveys/types"; +import { TSurveyStyling, TSurveyType } from "@formbricks/types/surveys/types"; interface ThemeStylingProps { project: Project; @@ -190,7 +190,7 @@ export const ThemeStyling = ({
debouncedManagePlayback(index, "play")} onMouseLeave={() => debouncedManagePlayback(index, "pause")} diff --git a/apps/web/modules/survey/editor/components/color-survey-bg.tsx b/apps/web/modules/survey/editor/components/color-survey-bg.tsx index 44f956e634..31aac3beb6 100644 --- a/apps/web/modules/survey/editor/components/color-survey-bg.tsx +++ b/apps/web/modules/survey/editor/components/color-survey-bg.tsx @@ -23,6 +23,7 @@ export const ColorSurveyBg = ({ handleBgChange, colors, background }: ColorSurve {colors.map((x) => { return (