_utilities.headings.scss 883 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* ==========================================================================
  2. #HEADINGS
  3. ========================================================================== */
  4. /**
  5. * Redefine all of our basic heading styles against utility classes so as to
  6. * allow for double stranded heading hierarchy, e.g. we semantically need an H2,
  7. * but we want it to be sized like an H1:
  8. *
  9. * <h2 class="u-h1"></h2>
  10. *
  11. */
  12. .u-h1 {
  13. @include inuit-font-size($inuit-font-size-h1, $important: true);
  14. }
  15. .u-h2 {
  16. @include inuit-font-size($inuit-font-size-h2, $important: true);
  17. }
  18. .u-h3 {
  19. @include inuit-font-size($inuit-font-size-h3, $important: true);
  20. }
  21. .u-h4 {
  22. @include inuit-font-size($inuit-font-size-h4, $important: true);
  23. }
  24. .u-h5 {
  25. @include inuit-font-size($inuit-font-size-h5, $important: true);
  26. }
  27. .u-h6 {
  28. @include inuit-font-size($inuit-font-size-h6, $important: true);
  29. }