Skip to content
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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

[ui] High contrast themes #27514

wants to merge 1 commit into from

Conversation

hellendag
Copy link
Member

Summary & Motivation

How I Tested These Changes

Changelog

Insert changelog entry or delete this section.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@hellendag hellendag marked this pull request as ready for review February 3, 2025 19:26
@hellendag hellendag marked this pull request as draft February 3, 2025 19:26
import {css} from 'styled-components';

export const lightHighContrastThemeColors = css`
--browser-color-scheme: 'light';
Copy link

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);
Copy link

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.

Copy link

github-actions bot commented Feb 3, 2025

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-fbnps5twj-elementl.vercel.app
https://dish-colorblind-mode.components-storybook.dagster-docs.io

Built with commit aee6450.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Feb 3, 2025

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-ncokho95i-elementl.vercel.app
https://dish-colorblind-mode.core-storybook.dagster-docs.io

Built with commit aee6450.
This pull request is being automatically deployed with vercel-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant