Skip to content

Instantly share code, notes, and snippets.

@SaraVieira
Last active July 31, 2018 10:31
Show Gist options
  • Save SaraVieira/cd618d0811ebdff7c103f640335aec2d to your computer and use it in GitHub Desktop.
Save SaraVieira/cd618d0811ebdff7c103f640335aec2d to your computer and use it in GitHub Desktop.
:import {
-st-from: "../../styles/flex-mixin";
-st-default: flex;
-st-from: "../../styles/variables.css";
-st-named: red, blue, yellow;
}
.root {
-st-states: secondary, tertiary;
background: value(red);
-st-mixin: flex(center, center);
}
.root:secondary {
background: value(blue);
}
.root:tertiary {
background: value(yellow);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment