Skip to content

Instantly share code, notes, and snippets.

@dmitru
Last active April 2, 2017 13:39
Show Gist options
  • Select an option

  • Save dmitru/ee2a4992a502f0d02038e9600285a135 to your computer and use it in GitHub Desktop.

Select an option

Save dmitru/ee2a4992a502f0d02038e9600285a135 to your computer and use it in GitHub Desktop.
@import 'themes.scss';
.app-container {
@include themify($themes) {
color: themed('textColor');
background-color: themed('backgroundColor');
}
.title {
font-family: sans-serif;
font-weight: lighter;
}
.button {
cursor: pointer;
border-radius: 5px;
padding: 15px 32px;
display: inline-block;
transition: color 0.1s, border-color 0.1s, background-color 0.1s;
@include themify($themes) {
border: themed('buttonBorder');
color: themed('buttonTextColor');
border-color: themed('buttonTextColor');
background-color: themed('buttonColor');
text-transform: themed('buttonTextTransform');
&:hover {
color: themed('buttonTextHoverColor');
border-color: themed('buttonTextHoverColor');
background-color: themed('buttonHoverColor');
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment