There's something odd going on with named colours. They're meant to be "indistinguishable from unqoted strings".
@function is_gold($c) {
@if ($c == gold) {
@return 'yes';
}
@return 'no';
}
div {
foo: is_gold(gold);
bar: is_gold(white);
}
sass gives me:
div {
foo: "yes";
bar: "no"; }
sassc gives me:
div {
foo: 'no';
bar: 'no'; }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4