mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Correctly implement RFS in :root
CSS variable for $body-font-size
(#35326)
* rfs fix * Update scss/_root.scss * Update _reboot.scss Co-authored-by: Mark Otto <otto@github.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
--#{$variable-prefix}root-font-size: #{$font-size-root};
|
||||
}
|
||||
--#{$variable-prefix}body-font-family: #{$font-family-base};
|
||||
--#{$variable-prefix}body-font-size: #{$font-size-base};
|
||||
@include rfs($font-size-base, --#{$variable-prefix}body-font-size);
|
||||
--#{$variable-prefix}body-font-weight: #{$font-weight-base};
|
||||
--#{$variable-prefix}body-line-height: #{$line-height-base};
|
||||
--#{$variable-prefix}body-color: #{$body-color};
|
||||
|
Reference in New Issue
Block a user