-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[ui] High contrast themes #27514
base: master
Are you sure you want to change the base?
[ui] High contrast themes #27514
Conversation
import {css} from 'styled-components'; | ||
|
||
export const lightHighContrastThemeColors = css` | ||
--browser-color-scheme: 'light'; |
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.
The CSS custom property --browser-color-scheme
should have its value specified without quotes. Change 'light'
to light
.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
--color-background-blue: var(--color-translucent-gray20); | ||
--color-background-blue-hover: var(--color-translucent-gray25); | ||
--color-background-olive: var(--color-translucent-olive15); | ||
--color-background-oliver-hover: var(--color-translucent-olive20); |
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.
The CSS property --color-background-oliver-hover
appears to be a typo and should be --color-background-olive-hover
to maintain naming consistency with its non-hover counterpart and align with the olive-based naming pattern used throughout the theme system.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit aee6450. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit aee6450. |
Summary & Motivation
How I Tested These Changes
Changelog