Improve flexibility of applying color to the theme

This commit is contained in:
Michael Rose
2016-04-05 15:18:05 -04:00
parent 1b9508d229
commit ecae46746d
13 changed files with 69 additions and 58 deletions

View File

@@ -13,7 +13,7 @@
@mixin notice($notice-color) {
margin: 2em 0 !important; // override
padding: 1em;
font-family: $sans-serif;
font-family: $global-font-family;
font-size: $type-size-6 !important;
text-indent: initial; // override
background-color: mix(#fff, $notice-color, 90%);
@@ -70,6 +70,12 @@
/* Default notice */
.notice {
@include notice($light-gray);
}
/* Primary notice */
.notice--primary {
@include notice($primary-color);
}