diff options
| author | Mark Otto <[email protected]> | 2022-03-13 10:13:09 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-13 10:13:09 -0700 |
| commit | acf6ea74a74328bcaa9f1c354f27e602cfbb8968 (patch) | |
| tree | 61aad18d82ea3eeab848a8215826d55106f519d6 /scss/helpers | |
| parent | 7c966f584889c6dfb0f1a70dd1757b2d237a68a0 (diff) | |
| download | bootstrap-acf6ea74a74328bcaa9f1c354f27e602cfbb8968.tar.xz bootstrap-acf6ea74a74328bcaa9f1c354f27e602cfbb8968.zip | |
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
Diffstat (limited to 'scss/helpers')
| -rw-r--r-- | scss/helpers/_ratio.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/helpers/_ratio.scss b/scss/helpers/_ratio.scss index 2390ee339..b6a7654c5 100644 --- a/scss/helpers/_ratio.scss +++ b/scss/helpers/_ratio.scss @@ -6,7 +6,7 @@ &::before { display: block; - padding-top: var(--#{$variable-prefix}aspect-ratio); + padding-top: var(--#{$prefix}aspect-ratio); content: ""; } @@ -21,6 +21,6 @@ @each $key, $ratio in $aspect-ratios { .ratio-#{$key} { - --#{$variable-prefix}aspect-ratio: #{$ratio}; + --#{$prefix}aspect-ratio: #{$ratio}; } } |
