_fonts-group.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // ==========================================================================
  2. // FONTS GROUP - Demo Classes for Typography Showcase
  3. // ==========================================================================
  4. @use 'sass:map';
  5. @use '../abstracts/variables' as v;
  6. @use '../abstracts/mixins' as mix;
  7. // ==========================================================================
  8. // Demo Heading Classes
  9. // ==========================================================================
  10. .demo-h1 {
  11. font-family: 'Poppins', sans-serif;
  12. font-size: map.get(v.$font-sizes, '2xl');
  13. font-weight: map.get(v.$font-weights, 'bold');
  14. margin-bottom: map.get(v.$spacers, 3);
  15. line-height: 1.2;
  16. @include mix.respond-to-min('md') {
  17. font-size: map.get(v.$font-sizes, '3xl');
  18. }
  19. }
  20. .demo-h2 {
  21. font-family: 'Poppins', sans-serif;
  22. font-size: map.get(v.$font-sizes, '3xl');
  23. font-weight: map.get(v.$font-weights, 'bold');
  24. margin-bottom: map.get(v.$spacers, 3);
  25. line-height: 1.2;
  26. }
  27. .demo-h3 {
  28. font-family: 'Poppins', sans-serif;
  29. font-size: map.get(v.$font-sizes, '2xl');
  30. font-weight: map.get(v.$font-weights, 'semibold');
  31. margin-bottom: map.get(v.$spacers, 3);
  32. line-height: 1.2;
  33. }
  34. .demo-h4 {
  35. font-family: 'Poppins', sans-serif;
  36. font-size: map.get(v.$font-sizes, 'xl');
  37. font-weight: map.get(v.$font-weights, 'semibold');
  38. margin-bottom: map.get(v.$spacers, 3);
  39. line-height: 1.2;
  40. }
  41. .demo-h5 {
  42. font-family: 'Poppins', sans-serif;
  43. font-size: map.get(v.$font-sizes, 'lg');
  44. font-weight: map.get(v.$font-weights, 'medium');
  45. margin-bottom: map.get(v.$spacers, 3);
  46. line-height: 1.2;
  47. }
  48. .demo-h6 {
  49. font-family: 'Poppins', sans-serif;
  50. font-size: map.get(v.$font-sizes, 'base');
  51. font-weight: map.get(v.$font-weights, 'medium');
  52. margin-bottom: map.get(v.$spacers, 3);
  53. line-height: 1.2;
  54. }