Which background color is this? Demo1-Html
Hi, I am trying to apply the same background used in the content section, but I can't find the name of the variable. Tried with bg-light, and it works on light mode, but in dark mode is not the same, attached an image as a reference:
<img src="https://i.imgur.com/zUGLxeD.png" />
Thanks in advance
Replies (5)
Found it...
To apply that same background and its dark behavior, to another element i.e. a div, just add:
<div st.y.le="background-color: var(--kt-app-bg-color);"> Hi,
Yes, you can use any css variable at the HTML level. To check all available CSS variables you can use Chrome Code Inspector and just select the root HTML tag to get a full list of CSS variables.
Regards.
Hi,
Sorry for the misunderstanding. Please refer to the below variables in src/sass/layout/_variables.custom.scss
//
// Variables
//
// Reboot
$app-bg-color: #f5f8fa;
$app-bg-color-dark: #151521; 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.
Hi,
Please try to just remove the bg-body class from the button to have a button with no background.
if you need any further help please let us know.
Regards.
I never mentioned any "button" in my question. I guess you replied another topic here
I am looking for the name of the variable of that background inside the red square I drawed it, to apply that background to another element.