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

draft: danger button primary dark #27184

Closed
wants to merge 0 commits into from

Conversation

adamleithp
Copy link
Contributor

@adamleithp adamleithp commented Dec 30, 2024

Problem

Dark mode primary danger button has broken contrast with a yellow background. Although this is not the recommended way to use the button with these two props (primary + danger) there are some instances in the code where it occurs, and instead of changing those files, let's just fix from here for now.

Changes

Before:
image

After:
image

Does this work well for both Cloud and self-hosted?

N/A

How did you test this code?

Storybook

@adamleithp adamleithp changed the title Fix danger button primary dark fix: danger button primary dark Dec 30, 2024
@adamleithp adamleithp changed the title fix: danger button primary dark draft: danger button primary dark Dec 30, 2024
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

60 snapshot changes in total. 0 added, 60 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@adamleithp adamleithp closed this Dec 30, 2024
@adamleithp adamleithp force-pushed the fix-danger-button-primary-dark branch from f6c4f9c to 9002bfe Compare December 30, 2024 17:13
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.

2 participants