chakra-ui / chakra-ui-docs

Documentation website for chakra ui
https://chakra-ui.com
MIT License
305 stars 473 forks source link

Theming: Alert Dialog #1037

Open nikolovlazar opened 2 years ago

nikolovlazar commented 2 years ago

Subject

Alert Dialog

Description

Create a basic theming documentation for the Alert Dialog component that showcases how you can style it.

Theming file: Alert Dialog theming file

Important!

The AlertDialog component uses the Modal theme. Changing the Modal theme will result in changing the AlertDialog appearance as well. You should make that clear in the AlertDialog theming docs.

Template Reference

For single part components, feel free to use the Button component theming doc as a template reference: Button theming.

For multipart components, feel free to use the Input component theming doc as a template reference: Input theming.

stale[bot] commented 2 years ago

Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.

stale[bot] commented 1 year ago

Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.

zzal commented 1 year ago

We need this to be addressed. Please mister robot, don't add the stale label anymore 😔.

I just found a workaround. Create a variant in your Modal theme customization, then: <AlertDialog variant='my-variant'>

stale[bot] commented 1 year ago

Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.