This commit is contained in:
Jeremy Thomas
2016-06-29 23:59:48 +01:00
parent 02313b85eb
commit 91d04459db
22 changed files with 72 additions and 70 deletions

View File

@@ -6,7 +6,7 @@
color: inherit
.message-header
background: $text
background-color: $text
border-radius: $radius $radius 0 0
color: $text-invert
padding: 7px 10px
@@ -18,7 +18,7 @@
.message
@extend .block
background: $background
background-color: $background
border-radius: $radius
// Colors
@each $name, $pair in $colors
@@ -27,9 +27,9 @@
$lightning: max((100% - lightness($color)) - 4%, 0%)
$darkness: max(lightness($color) - 10%, lightness($color))
&.is-#{$name}
background: lighten($color, $lightning)
background-color: lighten($color, $lightning)
.message-header
background: $color
background-color: $color
color: $color-invert
.message-body
border-color: $color