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 themarginorpaddingto$spacer * 4.57- (by default) for classes that set themarginorpaddingto$spacer * 68- (by default) for classes that set themarginorpaddingto$spacer * 7.59- (by default) for classes that set themarginorpaddingto$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-10Width 10%w-20Width 20%w-30Width 30%w-40Width 40%w-60Width 60%w-70Width 70%w-80Width 80%w-90Width 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
|
|