1 // stylelint-disable declaration-no-important
7 .text-monospace { font-family: $font-family-monospace; }
11 .text-justify { text-align: justify !important; }
12 .text-nowrap { white-space: nowrap !important; }
13 .text-truncate { @include text-truncate; }
15 // Responsive alignment
17 @each $breakpoint in map-keys($grid-breakpoints) {
18 @include media-breakpoint-up($breakpoint) {
19 $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
21 .text#{$infix}-left { text-align: left !important; }
22 .text#{$infix}-right { text-align: right !important; }
23 .text#{$infix}-center { text-align: center !important; }
29 .text-lowercase { text-transform: lowercase !important; }
30 .text-uppercase { text-transform: uppercase !important; }
31 .text-capitalize { text-transform: capitalize !important; }
35 .font-weight-light { font-weight: $font-weight-light !important; }
36 .font-weight-normal { font-weight: $font-weight-normal !important; }
37 .font-weight-bold { font-weight: $font-weight-bold !important; }
38 .font-italic { font-style: italic !important; }
42 .text-white { color: $white !important; }
44 @each $color, $value in $theme-colors {
45 @include text-emphasis-variant(".text-#{$color}", $value);
48 .text-body { color: $body-color !important; }
49 .text-muted { color: $text-muted !important; }
51 .text-black-50 { color: rgba($black, .5) !important; }
52 .text-white-50 { color: rgba($white, .5) !important; }
57 @include text-hide($ignore-warning: true);