diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-15 18:52:16 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-15 18:52:16 +0200 |
| commit | 8cdb057111948d0fb7281708bfe283425fd5561b (patch) | |
| tree | ce0ed91e2cfe4cd6ce027c85e35446b522535e6f /scss/_root.scss | |
| parent | f0abe26b98ade4d6a2d0b234758a94ea33b85388 (diff) | |
| download | bootstrap-8cdb057111948d0fb7281708bfe283425fd5561b.tar.xz bootstrap-8cdb057111948d0fb7281708bfe283425fd5561b.zip | |
Add `bs-` prefixes to custom properties (#30591)
Diffstat (limited to 'scss/_root.scss')
| -rw-r--r-- | scss/_root.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_root.scss b/scss/_root.scss index 055ac32fb..86f7493c2 100644 --- a/scss/_root.scss +++ b/scss/_root.scss @@ -1,15 +1,15 @@ :root { // Custom variable values only support SassScript inside `#{}`. @each $color, $value in $colors { - --#{$color}: #{$value}; + --bs-#{$color}: #{$value}; } @each $color, $value in $theme-colors { - --#{$color}: #{$value}; + --bs-#{$color}: #{$value}; } // Use `inspect` for lists so that quoted items keep the quotes. // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 - --font-family-sans-serif: #{inspect($font-family-sans-serif)}; - --font-family-monospace: #{inspect($font-family-monospace)}; + --bs-font-sans-serif: #{inspect($font-family-sans-serif)}; + --bs-font-monospace: #{inspect($font-family-monospace)}; } |
