fix typo in PMF widget styling

This commit is contained in:
knugget
2023-02-20 15:17:11 +01:00
parent 43ddd8fd35
commit 44ac65f076
2 changed files with 3 additions and 5 deletions

View File

@@ -133,8 +133,7 @@ Here are all variables you can set with the current defaults:
style: {
brandColor: "#00c4b8",
borderRadius: "0.4rem",
containerBGColor: "#f8fafc",
containerBGColor: "#f8fafc",
containerBgColor: "#f8fafc",
textColor: "#0f172a",
buttonTextColor: "#ffffff",
textareaBorderColor: "#e2e8f0",
@@ -160,8 +159,7 @@ window.formbricksPmf = {
style: {
brandColor: "#00c4b8",
borderRadius: "0.4rem",
containerBGColor: "#f8fafc",
containerBGColor: "#f8fafc",
containerBgColor: "#f8fafc",
textColor: "#0f172a",
buttonTextColor: "#ffffff",
textareaBorderColor: "#e2e8f0",

View File

@@ -87,7 +87,7 @@ function applyConfig() {
if (config.style.borderRadius) {
root.style.setProperty("--formbricksPmf-border-radius", config.style.borderRadius);
}
if (config.style.containerBGColor) {
if (config.style.containerBgColor) {
root.style.setProperty("--formbricksPmf-bg-color", config.style.containerBgColor);
}
if (config.style.textColor) {