fix(GlChart): make chart legend text visible in dark mode
Adds utility to detect if current environment is running in dark or light mode, to conditionally change axis text colour, to improve contrast when running on a dark background. Chart legend text colour set to match main text color CSS variable so it is also visible on dark backgrounds.
Loading
-
mentioned in commit c83c0931
-
mentioned in merge request gitlab-org/frontend/pajamas-adoption-scanner!210 (merged)
-
mentioned in merge request status-page!875 (merged)
-
mentioned in merge request status-page!876 (merged)
-
mentioned in merge request gitlab-docs!4273 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!3557 (merged)
-
mentioned in merge request gitlab!132987 (merged)
Please register or sign in to comment