diff --git a/_sass/minimal-mistakes/_notices.scss b/_sass/minimal-mistakes/_notices.scss index 5c087ed5..3a9b5e60 100644 --- a/_sass/minimal-mistakes/_notices.scss +++ b/_sass/minimal-mistakes/_notices.scss @@ -13,11 +13,11 @@ @mixin notice($notice-color) { margin: 2em 0 !important; /* override*/ padding: 1em; - color: $dark-gray; + color: $text-color; font-family: $global-font-family; font-size: $type-size-6 !important; text-indent: initial; /* override*/ - background-color: mix(#fff, $notice-color, 90%); + background-color: mix($background-color, $notice-color, $notice-background-mix); border-radius: $border-radius; box-shadow: 0 1px 1px rgba($notice-color, 0.25); @@ -46,15 +46,15 @@ } a { - color: $notice-color; + color: mix(#000, $notice-color, 10%); &:hover { - color: mix(#000, $notice-color, 40%); + color: mix(#000, $notice-color, 50%); } } code { - background-color: mix(#fff, $notice-color, 95%) + background-color: mix($background-color, $notice-color, $code-notice-background-mix) } pre code { diff --git a/_sass/minimal-mistakes/_variables.scss b/_sass/minimal-mistakes/_variables.scss index 4065a0eb..81a3acf7 100644 --- a/_sass/minimal-mistakes/_variables.scss +++ b/_sass/minimal-mistakes/_variables.scss @@ -118,6 +118,10 @@ $masthead-link-color: $primary-color !default; $masthead-link-color-hover: mix(#000, $primary-color, 25%) !default; $navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default; +/* notices */ +$notice-background-mix: 80% !default; +$code-notice-background-mix: 90% !default; + /* syntax highlighting (base16) */ $base00: #263238 !default; $base01: #2e3c43 !default; diff --git a/_sass/minimal-mistakes/skins/_aqua.scss b/_sass/minimal-mistakes/skins/_aqua.scss index f5a69af5..7c3944e0 100644 --- a/_sass/minimal-mistakes/skins/_aqua.scss +++ b/_sass/minimal-mistakes/skins/_aqua.scss @@ -27,4 +27,8 @@ $link-color : $info-color !default; $link-color-hover : mix(#000, $link-color, 25%) !default; $link-color-visited : mix(#fff, $link-color, 25%) !default; $masthead-link-color : $primary-color !default; -$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default; \ No newline at end of file +$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default; + +/* notices */ +$notice-background-mix: 90% !default; +$code-notice-background-mix: 95% !default; diff --git a/_sass/minimal-mistakes/skins/_dark.scss b/_sass/minimal-mistakes/skins/_dark.scss index d3d24ef7..38053493 100644 --- a/_sass/minimal-mistakes/skins/_dark.scss +++ b/_sass/minimal-mistakes/skins/_dark.scss @@ -27,4 +27,4 @@ $navicon-link-color-hover: mix(#000, $background-color, 30%) !default; .ais-search-box .ais-search-box--input { background-color: $form-background-color; -} \ No newline at end of file +} diff --git a/_sass/minimal-mistakes/skins/_neon.scss b/_sass/minimal-mistakes/skins/_neon.scss index 737e6b40..a4f2ef5d 100644 --- a/_sass/minimal-mistakes/skins/_neon.scss +++ b/_sass/minimal-mistakes/skins/_neon.scss @@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default; $masthead-link-color-hover: mix(#000, $text-color, 20%) !default; $navicon-link-color-hover: mix(#000, $background-color, 30%) !default; +/* notices */ +$notice-background-mix: 90% !default; +$code-notice-background-mix: 95% !default; + /* neon syntax highlighting (base16) */ $base00: #ffffff !default; $base01: #e0e0e0 !default; diff --git a/_sass/minimal-mistakes/skins/_plum.scss b/_sass/minimal-mistakes/skins/_plum.scss index 135db900..defa69cd 100644 --- a/_sass/minimal-mistakes/skins/_plum.scss +++ b/_sass/minimal-mistakes/skins/_plum.scss @@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default; $masthead-link-color-hover: mix(#000, $text-color, 20%) !default; $navicon-link-color-hover: mix(#000, $background-color, 30%) !default; +/* notices */ +$notice-background-mix: 70% !default; +$code-notice-background-mix: 80% !default; + /* plum syntax highlighting (base16) */ $base00: #ffffff !default; $base01: #e0e0e0 !default; diff --git a/_sass/minimal-mistakes/skins/_sunrise.scss b/_sass/minimal-mistakes/skins/_sunrise.scss index f23d4f96..bc259f6d 100644 --- a/_sass/minimal-mistakes/skins/_sunrise.scss +++ b/_sass/minimal-mistakes/skins/_sunrise.scss @@ -20,6 +20,9 @@ $masthead-link-color: $text-color !default; $masthead-link-color-hover: mix(#000, $text-color, 20%) !default; $navicon-link-color-hover: mix(#000, $background-color, 30%) !default; +/* notices */ +$notice-background-mix: 75% !default; + /* sunrise syntax highlighting (base16) */ $base00: #1d1f21 !default; $base01: #282a2e !default;