Browse Source

Temp: test @supports query for CSS custom props

merge-requests/126/merge
Deimos 4 years ago
parent
commit
df64807384
  1. 7
      tildes/scss/themes/_theme_mixins.scss

7
tildes/scss/themes/_theme_mixins.scss

@ -141,6 +141,13 @@
$theme: init-theme($selected-theme); $theme: init-theme($selected-theme);
$is-light: is-color-bright(map-get($theme, "background-primary")); $is-light: is-color-bright(map-get($theme, "background-primary"));
// Temp: test whether this @supports query works for some users with older browsers
@supports not (--test: green) {
#sidebar {
background-color: #fff;
}
}
// When creating CSS custom properties and using any of Sass' capabilities // When creating CSS custom properties and using any of Sass' capabilities
// you'll have to interpolate it with the Sass syntax `#{...}` as seen below. // you'll have to interpolate it with the Sass syntax `#{...}` as seen below.
--alert: #{map-get($theme, "alert")}; --alert: #{map-get($theme, "alert")};

Loading…
Cancel
Save