Different color sets for dark and light modes? #787
-
Hi Team, I am using the Is there a way to configure different colour sets separately for The colours I need to use are too close to the default mode colours, and I want to use different colour combinations for them. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hinode supports Bootstrap's color modes. I'd suggest to modify the dark variables in the SCSS file(s) as needed. You can copy the file For example, the next adjustment assigns the color
The result looks like this: You can check the various color variables in the Bootstrap docs. The Sass stylesheets use a mix of compiled variables (such as |
Beta Was this translation helpful? Give feedback.
Hinode supports Bootstrap's color modes. I'd suggest to modify the dark variables in the SCSS file(s) as needed. You can copy the file
assets/scss/common/_variables-dark.scss
to your own repository. This file will then take precedence. Within the stylesheet, you can override the different colors as needed.For example, the next adjustment assigns the color
yellow
to the--bs-primary
variable in dark mode (#{$prefix}
is a variable that defaults tobs
):The result looks like this:
You can check the various color variables in the Bootstrap docs. The Sass stylesheets use a mix of compiled va…