From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Oct 2018 23:46:42 +0200 Subject: Initial commit. --- src/sass/bootstrap4/_root.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/sass/bootstrap4/_root.scss (limited to 'src/sass/bootstrap4/_root.scss') diff --git a/src/sass/bootstrap4/_root.scss b/src/sass/bootstrap4/_root.scss new file mode 100644 index 0000000..ad550df --- /dev/null +++ b/src/sass/bootstrap4/_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)}; +} -- cgit v1.2.3