Theming documentation for ConfirmDialog component
List of class names used in the styled mode.
| className | description |
|---|---|
| p-confirmdialog | Class name of the root element |
| p-confirmdialog-trigger-button | Class name of the trigger button element |
| p-confirmdialog-icon | Class name of the icon element |
| p-confirmdialog-message | Class name of the message element |
| p-confirmdialog-close-button | Class name of the close button element |
| p-confirmdialog-action-button | Class name of the action button element |
List of design tokens.
| token | CSS Variable | description |
|---|---|---|
| confirmdialog.icon.size | --p-confirmdialog-icon-size | Size of icon |
| confirmdialog.icon.color | --p-confirmdialog-icon-color | Color of icon |
| confirmdialog.content.gap | --p-confirmdialog-content-gap | Gap of content |
Theming is implemented with the pass through properties in unstyled mode.