aboutsummaryrefslogtreecommitdiff
path: root/scss/_root.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-04-15 18:52:16 +0200
committerGitHub <[email protected]>2020-04-15 18:52:16 +0200
commit8cdb057111948d0fb7281708bfe283425fd5561b (patch)
treece0ed91e2cfe4cd6ce027c85e35446b522535e6f /scss/_root.scss
parentf0abe26b98ade4d6a2d0b234758a94ea33b85388 (diff)
downloadbootstrap-8cdb057111948d0fb7281708bfe283425fd5561b.tar.xz
bootstrap-8cdb057111948d0fb7281708bfe283425fd5561b.zip
Add `bs-` prefixes to custom properties (#30591)
Diffstat (limited to 'scss/_root.scss')
-rw-r--r--scss/_root.scss8
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)};
}