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

fix(alert): respect the colorScheme prop #2726

Merged
merged 2 commits into from
Dec 7, 2020

Conversation

dodas
Copy link
Contributor

@dodas dodas commented Dec 7, 2020

Pull request type

Bugfix

What is the current behavior?

Fixes: #2696

What is the new behavior?

Alert now respects the colorScheme property.
You can set it to override the color scheme that is by default determined by the status property.

Does this introduce a breaking change?

No

@changeset-bot
Copy link

changeset-bot bot commented Dec 7, 2020

🦋 Changeset detected

Latest commit: c73cce2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@chakra-ui/alert Patch
@chakra-ui/react Patch
@chakra-ui/toast Patch
@chakra-ui/test-utils Patch
chakra-cra Patch
gatsby-starter-default Patch
chakra-nextjs Patch
chakra-nextjs-ts Patch
@chakra-ui/props-docs Patch
@chakra-ui/docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 7, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/chakra-ui/chakra-ui/qkxhcoc3j
✅ Preview: https://chakra-ui-git-fix-alert-color-scheme.chakra-ui.now.sh

@segunadebayo segunadebayo merged commit 8d8b8c0 into chakra-ui:develop Dec 7, 2020
@dodas dodas deleted the fix/alert-color-scheme branch December 8, 2020 14:50
@github-actions github-actions bot mentioned this pull request Dec 8, 2020
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.

cannot customize Alert colors
2 participants