Closed kevinSuttle closed 8 years ago
The following code is totally working in the playground http://cssnext.io/playground/
:root {
--FallbackFontFamily: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
--LightFontFamily: "Helvetica Neue Light", HelveticaNeue-Light;
}
.buttonLabel {
font-family: var(--LightFontFamily) var(--FallbackFontFamily);
}
And gives this
.buttonLabel {
font-family: "Helvetica Neue Light", HelveticaNeue-Light "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
}
You probably have another problem before (I can notice your stacks definition are not in braces).
This could be the spec, but here's example.
Outputs exactly how you'd expect:
But:
Output: