From fda75864e6868729677d1ec81043a57df8c2f187 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 29 Oct 2018 10:06:52 -0400 Subject: [PATCH] Improve color contrast of primary buttons and links --- CHANGELOG.md | 1 + _sass/minimal-mistakes/_variables.scss | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa00504..bf77a15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +- Improve color contrast of primary buttons and links. - Add Hindi localized UI text strings. [#1888](https://github.com/mmistakes/minimal-mistakes/pull/1888) - Update Lunr to `2.3.3`. [#1885](https://github.com/mmistakes/minimal-mistakes/pull/1885) - Cache "static" includes to improve build performance. **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874) diff --git a/_sass/minimal-mistakes/_variables.scss b/_sass/minimal-mistakes/_variables.scss index dd45d12..621ff44 100644 --- a/_sass/minimal-mistakes/_variables.scss +++ b/_sass/minimal-mistakes/_variables.scss @@ -62,11 +62,11 @@ $border-color: $lighter-gray !default; $form-background-color: $lighter-gray !default; $footer-background-color: $lighter-gray !default; -$primary-color: #7a8288 !default; -$success-color: #62c462 !default; -$warning-color: #f89406 !default; +$primary-color: #6f777d !default; +$success-color: #3fa63f !default; +$warning-color: #d67f05 !default; $danger-color: #ee5f5b !default; -$info-color: #52adc8 !default; +$info-color: #3b9cba !default; /* YIQ color contrast */ $yiq-contrasted-dark-default: $dark-gray !default; @@ -101,9 +101,9 @@ $youtube-color: #bb0000 !default; $xing-color: #006567 !default; /* links */ -$link-color: $info-color !default; +$link-color: mix(#000, $info-color, 15%) !default; $link-color-hover: mix(#000, $link-color, 25%) !default; -$link-color-visited: mix(#fff, $link-color, 25%) !default; +$link-color-visited: mix(#fff, $link-color, 15%) !default; $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; -- 2.45.2