diff options
| author | Mark Otto <[email protected]> | 2020-07-13 11:23:38 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-13 21:23:38 +0300 |
| commit | 6914efe8dd73ce403a9e04a43a05fe4642ad87f9 (patch) | |
| tree | f3916056782c406ed17dfb7828dede0a8aa30754 /site/content/docs | |
| parent | b345746bb6d9ac4fe4f32ebd37b15fe52ec13ca0 (diff) | |
| download | bootstrap-6914efe8dd73ce403a9e04a43a05fe4642ad87f9.tar.xz bootstrap-6914efe8dd73ce403a9e04a43a05fe4642ad87f9.zip | |
v5: Tweak some colors (#31276)
* Tweak green and cyan colors, bump min contrast ratio to 4.5
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site/content/docs')
| -rw-r--r-- | site/content/docs/5.0/migration.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index fc8a8dc61..79eaefbce 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -14,6 +14,13 @@ toc: true - Renamed `.sr-only` and `.sr-only-focusable` to `.visually-hidden` and `.visually-hidden-focusable`. - Renamed `sr-only()` and `sr-only-focusable()` mixins to `visually-hidden()` and `visually-hidden-focusable()`. +### Colors + +- Bumped color contrast ratio from 3:1 to 4.5:1. +- Set `$black` as color contrast color instead of `$gray-900`. +- Improved `$green` (and its theme alias `$success`) color to reach new minimum color contrast (moving from `#28a745` to `#198754`). +- Improved `$cyan` (and its theme alias `$info`) color to be more vibrant (moving from `#17a2b8` to `#0dcaf0`). + ### Components #### Buttons |
