mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Issue-3895: Make variables root configurable
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
@use "initial-variables" as iv;
|
||||
@use "functions" as fn;
|
||||
|
||||
$variables-host: iv.$variables-host;
|
||||
|
||||
@function buildVarName($name, $prefix: "", $suffix: "") {
|
||||
@return "--#{iv.$cssvars-prefix}#{$prefix}#{$name}#{$suffix}";
|
||||
}
|
||||
@@ -419,7 +421,7 @@
|
||||
|
||||
@mixin system-theme($name) {
|
||||
@media (prefers-color-scheme: #{$name}) {
|
||||
:root {
|
||||
#{$variables-host} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user