Bug Report #1648652536642

OS info

  • Operating System : Windows 10.0.19044
  • Wappler Version : 4.7.1

Problem description

Theme colors reset to bootstrap default colors. Theme color values are correct but actual colors are default - blue/gray

Steps to reproduce

  1. add new page
  2. review design of main layout colors changed to default bootstrap.
  3. click gradient and after autosave page colors are set to custom settings

Same as your other post:

Can you recreate this on a new blank project or does this happen on a specific project?
Also - if this happens on a specific project then please post the debug log here:

Created new project
Customized the theme
Added new page
Same result - new page resets theme.

report1648652145287.zip (549.4 KB)

You seem to have some invalid options in the theme manager, I see errors in the log:

[2022-03-30 10:50:13.149] LOAD manager themeManager
[2022-03-30 10:52:07.048] error: argument `$color` of `red($color)` must be a color
[2022-03-30 10:52:07.048] error line: 37
[2022-03-30 10:52:07.058] Unhandled rejection Error: argument `$color` of `red($color)` must be a color
    at C:\Users\jed\AppData\Local\Wappler\resources\app\node_modules\node-sass\lib\index.js:291:26
[2022-03-30 10:52:59.104] error: argument `$color` of `red($color)` must be a color
[2022-03-30 10:52:59.104] error line: 37
[2022-03-30 10:52:59.111] Unhandled rejection Error: argument `$color` of `red($color)` must be a color
    at C:\Users\jed\AppData\Local\Wappler\resources\app\node_modules\node-sass\lib\index.js:291:26

You should get an alert with the error as well

No alerts George - I’ve not touched anything in that Wappler folder. Wouldn’t that reset with on the fresh installs I did over the past few days?

I did find one “red” in style.css changed that reset Wappler with logging still changes theme

Additional troubleshooting:

  1. created new layout
  2. Theme still changes

Opened old different project and on newly created projects - theme now changes with new page added.

what do you mean by that? How is the theme changed?

Also have you included local bootstrap version and specified it as design framework in the project options?

Theme resets to bootstrap default colors

Is bootstrap 5 also selected as design framework on the general project options?

yes