Skip to content

Instantly share code, notes, and snippets.

@alex35mil
Created October 25, 2016 10:08
Show Gist options
  • Save alex35mil/2016685dcbebfa20a761fe22fbd77ced to your computer and use it in GitHub Desktop.
Save alex35mil/2016685dcbebfa20a761fe22fbd77ced to your computer and use it in GitHub Desktop.
:root {
--button: {
background-color: var(--bg-color);
color: var(--text-color);
}
}
.blueButton {
--bg-color: blue;
--text-color: #fff;
@apply --button;
}
.greenButton {
--bg-color: green;
--text-color: #fff;
@apply --button;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment