summaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-08 22:12:24 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-08 22:12:24 -0300
commitb15ab4adb837e43409e5e3cf3a40a83ef4dbf62f (patch)
tree3b7d7e5dc84aabc839dd1d9174c4593cbd6b2f82 /themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss
Initial commit
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss')
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss b/themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss
new file mode 100755
index 0000000..ad550df
--- /dev/null
+++ b/themes/hugo-whisper-theme/assets/scss/bootstrap/_root.scss
@@ -0,0 +1,19 @@
+:root {
+ // Custom variable values only support SassScript inside `#{}`.
+ @each $color, $value in $colors {
+ --#{$color}: #{$value};
+ }
+
+ @each $color, $value in $theme-colors {
+ --#{$color}: #{$value};
+ }
+
+ @each $bp, $value in $grid-breakpoints {
+ --breakpoint-#{$bp}: #{$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)};
+}