Possible error in css variable
Hi, when I apply
style = "var(--bs-app-bg-color);" it turns transparent on dark mode
Can you check?
Replies (2)
Sorry, editing is not possible, it always shows error. I meant:
Hi, when I apply
style = "background: var(--bs-app-bg-color);" it turns transparent on dark mode
Can you check?
Hi,
Please note that the dark mode app bg color is by default set to transparent in src/sass/layout/_variables.custom.scss:
//
// Variables
//
// Reboot
$app-bg-color: #fcfcfc;
$app-bg-color-dark: transparent; You can change it as per your requirements.
Then recompile your assets folder with Gulp or Webpack.
Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment, you will only need the compile assets, no need to install the build tools dependencies there.
Regards.