-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiForm] Increase Contrast on
EuiForm
Section Controls to Pass WCA…
…G AA Standards (#6729) * [Selection Form Controls] Increase the shade threshhold for EuiForm selection controls to meet WCAG AA guidelines for graphical objects and user interface components. Updated the hard coded form styles test case that targets customControlBorderColor with the updated HEX value * Forgot to add test update * [Selection Form Controls] Increase the tint threshhold for EuiForm selection controls to meet WCAG AA guidelines for graphical objects and user interface components. * Change the euiSwitchOff color to a darker shade. This changes the switch background color and allows it to meet WCAG AA UI guidelines * CHANGELOG * [EuiSwitch] Updated the color scheme of the disabled styling for EuiSwitch in lightmode to help distinguish the state * Delete .prettierrc Didn't mean to add my `prettierrc` * Revert "Delete .prettierrc" This reverts commit a528e8b. * Revert prettier RC changes * [EuiSwitch] - Removed individual EuiSwitch SASS keys in favor of adding them directly to the component. - Updated icon color so that icons appear white for both states in light mode and black in dark mode - Misc comment updates * Update upcoming_changelogs/6729.md Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com> * [EuiSwitch] Add block scoped variabled to EuiSwitch for reused colors.: --------- Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
- Loading branch information
Showing
5 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Improved the contrast ratio of `EuiCheckbox`, `EuiRadio`, and `EuiSwitch` in their unchecked states to meet WCAG AA guidelines. |