UNPKG

707 BSCSSView Raw
1//
2// Composite utilities
3//
4// naming convention: gl--{name}
5// purpose: This is for composite classes that provide significant readability and maintainability profit.
6//
7// PLEASE NOTE: When considering to abstract a set of utility classes, please prefer, in order:
8// 1. Not abstracting
9// 2. Create a component
10// 3. Create a constant scoped within a specific module
11// 4. Create a composite class if there are many preexisting occurrences with a clear design responsibility
12//
13// notes:
14// - Composite classes should be very short and not have any nested rules.
15//
16@mixin gl--flex-center {
17 @include gl-display-flex;
18 @include gl-align-items-center;
19 @include gl-justify-content-center;
20}