Add more variables

This commit is contained in:
Jeremy Thomas
2019-05-17 13:50:39 +01:00
parent 3a188329f2
commit 565af6ddd9
21 changed files with 290 additions and 667 deletions

View File

@@ -17,6 +17,7 @@ $message-body-pre-background-color: $white !default
$message-body-pre-code-background-color: transparent !default
$message-header-body-border-width: 0 !default
$message-colors: $colors !default
.message
@extend %block
@@ -36,7 +37,7 @@ $message-header-body-border-width: 0 !default
&.is-large
font-size: $size-large
// Colors
@each $name, $pair in $colors
@each $name, $pair in $message-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
$color-lightning: max((100% - lightness($color)) - 2%, 0%)