Customization Options: add a variable for hero-fonts-mode

This commit is contained in:
argirok 2023-06-09 13:55:31 +03:00
parent 300002ac56
commit b234b8616b
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ export class Layout {
variables['@global-background'] = Layout.convertRGBAtoRGB(options.backgrounds.light.color);
variables['@hero-background-image'] = (options.backgrounds.form.imageFile ? (this.getUrl(properties.utilsService + '/download/' + options.backgrounds.form.imageFile)) : 'none');
variables['@hero-background-position'] = options.backgrounds.form.position;
variables['@hero-fonts-mode'] = options.backgrounds.form.fontsDarkMode?'dark':'light';
}
if (options.buttons) {
//general