-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few more dark mode fixes #1700
Conversation
The changes thus far look great! I'll take a look at As a future item (beyond this PR), the bottom bar could afford to be even more prominent in dark mode and better aligned with light mode. For example, light mode uses a dark background which provides strong contrast, but then that feels incongruent with dark on dark mode. Perhaps a full color bottom bar would achieve both - better visibility and consistency across themes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Created a one-line PR against your fork that fixes the EuiStat
subdued color.
cchaos#17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Think we're good here.
* Update react-datepicker time selector to not _always_ scroll to preSelection time * Update react-datepicker time selection scroll-into-view onMount logic * revert props default changes I made for testing * fix scroll issue * fix ie issue * A few more dark mode fixes (#1700) * 9.2.0 * Updated documentation. * Make EuiPopover's repositionOnScroll prop optional in TS (#1705) * Make EuiPopover's repositionOnScroll prop optional in TS * changelog * fix range coloring * Fix scrollTop target * changelog
* Update react-datepicker time selector to not _always_ scroll to preSelection time * Update react-datepicker time selection scroll-into-view onMount logic * revert props default changes I made for testing * fix scroll issue * fix ie issue * A few more dark mode fixes (elastic#1700) * 9.2.0 * Updated documentation. * Make EuiPopover's repositionOnScroll prop optional in TS (elastic#1705) * Make EuiPopover's repositionOnScroll prop optional in TS * changelog * fix range coloring * Fix scrollTop target * changelog
A follow-up to @snide's dark colors update.
Big-ish change
The lightest three colors euiColorDarkShade, euiColorDarkestShade, euiColorFullShade were way too similar that they were indistinguishable from each other (especially on the dark background). I altered the dark and darkest shades to be a tad darker (still using the same hex values from the light theme).
I noticed the difference when looking at subdued text, which didn't look subdued at all. So now it does.
Badges
@snide Can you handle the update of these? You can push directly to this branch.
But I did fix the notification badge:
-->
Other changes
Tooltips
before
after
Callout titles
They were just a tad on the saturated side, so I tinted them ever so slightly.
before
after
Bottom bar
Added a shadow to try to distinguish it from the background ever so slightly.
before
after
it does also effect light theme
Loading chart
before
after
Sidenav underline color
I fixed the focus/hover underline color of the side nav
before
after
Still needs attention
Like I said, badges, but also the text colors of accent, warning and danger are soo similar, it's really hard to distinguish. Is it possible to go a littler more yellow with the warning color?
@ryankeairns It seems something is not working with the subdued stat color?
Checklist
[ ] This was checked in mobile[ ] This was checked in IE11[ ] Any props added have proper autodocs[ ] Documentation examples were added[ ] This was checked for breaking changes and labeled appropriately[ ] Jest tests were updated or added to match the most common scenarios[ ] This was checked against keyboard-only and screenreader scenarios[ ] This required updates to Framer X components