]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move heading classes back to Reboot to prevent a dependency
authorMark Otto <markdotto@gmail.com>
Sun, 22 Jun 2025 16:12:07 +0000 (09:12 -0700)
committerJulien Déramond <juderamond@gmail.com>
Thu, 26 Jun 2025 15:39:36 +0000 (17:39 +0200)
scss/content/_reboot.scss
scss/content/_type.scss

index bf2088561d91795d18d38504bd137124efaf8f0d..536f2d341a35e9b0bcf549389e7920e391cb148b 100644 (file)
@@ -96,32 +96,38 @@ hr {
   color: var(--#{$prefix}heading-color);
 }
 
-h1 {
+h1,
+.h1 {
   @extend %heading;
   @include font-size($h1-font-size);
 }
 
-h2 {
+h2,
+.h2 {
   @extend %heading;
   @include font-size($h2-font-size);
 }
 
-h3 {
+h3,
+.h3 {
   @extend %heading;
   @include font-size($h3-font-size);
 }
 
-h4 {
+h4,
+.h4 {
   @extend %heading;
   @include font-size($h4-font-size);
 }
 
-h5 {
+h5,
+.h5 {
   @extend %heading;
   @include font-size($h5-font-size);
 }
 
-h6 {
+h6,
+.h6 {
   @extend %heading;
   @include font-size($h6-font-size);
 }
index e7a9a0ab924e01a8bb53447b8524a15693c88224..802bae42da49c23c41da0678051b7ca3b23e08f2 100644 (file)
@@ -3,35 +3,6 @@
 @use "../mixins/lists" as *;
 @use "../vendor/rfs" as *;
 
-//
-// Headings
-//
-// mdo-do: remove extend
-// .h1 {
-//   @extend h1;
-// }
-
-// .h2 {
-//   @extend h2;
-// }
-
-// .h3 {
-//   @extend h3;
-// }
-
-// .h4 {
-//   @extend h4;
-// }
-
-// .h5 {
-//   @extend h5;
-// }
-
-// .h6 {
-//   @extend h6;
-// }
-
-
 .lead {
   @include font-size($lead-font-size);
   font-weight: $lead-font-weight;