Relates to #14699. ```css @import "hugo:vars"; @import "hugo:vars/mobile" (max-width: 650px); ``` And then: ```handlebars {{ with resources.Get "sass/main.css" }} {{ $opts := dict "vars" (dict "primary-color" "blue" "mobile" (dict "somemobilevar" "foo) )) }} {{ with . | css.Build $opts }} <link rel="stylesheet" href="{{ .RelPermalink }}"> {{ end }} {{ end }} ``` * The above should be trivial to implement for `css.Build` * I'm not sure about `css.Sass` (or: it would be trivial to implement, but I'm not sure Dart Sass' `import` supports the relevant syntax) .
Relates to #14699.
And then:
css.Buildcss.Sass(or: it would be trivial to implement, but I'm not sure Dart Sass'importsupports the relevant syntax) .