Skip to content
Discussion options

You must be logged in to vote

This is fine, but why not changing simply the background in Bootstrap _bootscore-variables.scss?

$body-bg: gray;

Or better, define your gray color palette first:

$gray-100: #eeeeee;

$body-bg: $gray-100;

Check out https://bootscore.me/documentation/theme/css-scss-compiler/#advanced on how to use the variables correct.

You can override the bg color in _bootscore-custom.scss as well:

:root {
  --#{$prefix}body-bg: #eeeeee;
}

All options leads into the same result, but using variables to create your own Bootstrap is the cleanest option. Thats why we have the Bootstrap source and scss compiler in the theme.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by crftwrk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants