chore(theme): ✅ Add general theme settings tests
This commit is contained in:
@ -62,6 +62,7 @@ export const TypebotViewer = ({
|
||||
// We set this as inline style to avoid color flash for SSR
|
||||
backgroundColor: containerBgColor,
|
||||
}}
|
||||
data-testid="container"
|
||||
>
|
||||
<div className="flex w-full h-full justify-center">
|
||||
<ConversationContainer
|
||||
|
@ -19,7 +19,7 @@ export const setCssVariablesValue = (
|
||||
background.type === BackgroundType.IMAGE
|
||||
? cssVariableNames.container.bg.image
|
||||
: cssVariableNames.container.bg.color,
|
||||
background.content
|
||||
background.type === BackgroundType.NONE ? 'transparent' : background.content
|
||||
)
|
||||
documentStyle.setProperty(cssVariableNames.container.fontFamily, font)
|
||||
}
|
||||
|
Reference in New Issue
Block a user