diff --git a/connect/community/CustomizationOptions.ts b/connect/community/CustomizationOptions.ts index f1a318d6..9dfa2f07 100644 --- a/connect/community/CustomizationOptions.ts +++ b/connect/community/CustomizationOptions.ts @@ -106,6 +106,7 @@ export class CustomizationOptions { imageUrl: string; imageFile: string; position: string; + fontsDarkMode:boolean; } }; buttons: { @@ -132,7 +133,8 @@ export class CustomizationOptions { color: CustomizationOptions.getRGBA(this.identity.mainColor, 0.15), imageUrl: null, imageFile: null, - position: null + position: null, + fontsDarkMode: true } }; @@ -194,6 +196,9 @@ export class CustomizationOptions { if (!current.backgrounds.form.position) { current.backgrounds.form.position = "center bottom" } + if (!current.backgrounds.form.fontsDarkMode) { + current.backgrounds.form.fontsDarkMode = true; + } if (!current.buttons) { current.buttons = Object.assign({}, updated.buttons); }