chakra-ui-docs
chakra-ui-docs copied to clipboard
Theming: Alert Dialog
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.
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.
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.
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'>
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.