Customize Styles

HB allows adding custom styles and overriding the Bootstrap default SCSS variables.

Add Custom Styles

Create the following file to add custom styles.

assets/hb/modules/custom/scss/index.scss
1/*! purgecss start ignore */
2
3.greeting {
4    color: green;
5}
6
7/*! purgecss end ignore */

Customize Bootstrap SCSS Variables

To customize the SCSS variables, you need to create the following file.

Available SCSS variables can be found at the docs and source code.

razonyang
Saturday, July 27, 2024 Saturday, April 15, 2023