Custom Utilities
Overview
We've added a few custom utilities to the theme. Wherever Bootstrap allows for customization of
its classes we've made adjustments in the styles.scss
file. For other custom
classes see the _custom-utilities.scss
file.
Bootstrap Spacing
We've added to the list of spacers available within the Bootstrap framework. In addition to
the
1
through 5
spacing utitlies, we have spacing as follows:
6
- (by default) for classes that set themargin
orpadding
to$spacer * 4.5
7
- (by default) for classes that set themargin
orpadding
to$spacer * 6
8
- (by default) for classes that set themargin
orpadding
to$spacer * 7.5
9
- (by default) for classes that set themargin
orpadding
to$spacer * 9
Bootstrap Widths
We've added to the
list of sizing
classes in Bootstrap. In addition to the classes such as
w-25
that adds a width: 25%;
style, we have widths as follows:
w-10
Width 10%w-20
Width 20%w-30
Width 30%w-40
Width 40%w-60
Width 60%w-70
Width 70%w-80
Width 80%w-90
Width 90%
Theme Utilities
Below is a table with the various Good Vibrations theme original utilities.
Class Name | Description | Options |
---|---|---|
.letter-spacing-* |
Used for letter-spacing in rem units
|
|
.lh-* |
Used for line-height styling
|
|
.font-weight-200 |
Used for a font-weight: 200; style
|
|
.text-* |
Used for font-size styling in rem units
|
|
.z-* |
Used for z-index styling
|
|
.box-shadow-* |
Used for box-shadow styling
|
|
.stroke-w-* |
Used for stroke-width styling
|
|
.feather-icon-* |
Used for width and height styling of feather icons
|
|
.w-fit-content |
Used for width: fit-content; styling
|
|
.min-height-95vh |
Used for min-height: 95vh; styling
|
|