_text.scss 457 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Component: Text
  3. * -------------
  4. */
  5. // text modification
  6. .text-bold {
  7. &, &.table td, &.table th {
  8. font-weight: 700;
  9. }
  10. }
  11. .text-sm {
  12. font-size: $font-size-sm !important;
  13. }
  14. .text-xs {
  15. font-size: $font-size-base !important;
  16. }
  17. .text-lg {
  18. font-size: $font-size-lg !important;
  19. }
  20. .text-xl {
  21. font-size: $font-size-xl !important;
  22. }
  23. // text color variations
  24. @each $name, $color in $colors {
  25. .text-#{$name} {
  26. color: #{$color};
  27. }
  28. }