mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 08:34:08 +02:00
Move heading classes back to Reboot to prevent a dependency
This commit is contained in:
@@ -96,32 +96,38 @@ hr {
|
|||||||
color: var(--#{$prefix}heading-color);
|
color: var(--#{$prefix}heading-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1,
|
||||||
|
.h1 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h1-font-size);
|
@include font-size($h1-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2,
|
||||||
|
.h2 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h2-font-size);
|
@include font-size($h2-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3,
|
||||||
|
.h3 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h3-font-size);
|
@include font-size($h3-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4,
|
||||||
|
.h4 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h4-font-size);
|
@include font-size($h4-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5,
|
||||||
|
.h5 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h5-font-size);
|
@include font-size($h5-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6,
|
||||||
|
.h6 {
|
||||||
@extend %heading;
|
@extend %heading;
|
||||||
@include font-size($h6-font-size);
|
@include font-size($h6-font-size);
|
||||||
}
|
}
|
||||||
|
@@ -3,35 +3,6 @@
|
|||||||
@use "../mixins/lists" as *;
|
@use "../mixins/lists" as *;
|
||||||
@use "../vendor/rfs" 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 {
|
.lead {
|
||||||
@include font-size($lead-font-size);
|
@include font-size($lead-font-size);
|
||||||
font-weight: $lead-font-weight;
|
font-weight: $lead-font-weight;
|
||||||
|
Reference in New Issue
Block a user