ConfirmPopup Theming

Theming documentation for ConfirmPopup component

Styled#

CSS Classes#

List of class names used in the styled mode.

classNamedescription
p-confirmpopupClass name of the root element
p-confirmpopup-contentClass name of the content element
p-confirmpopup-iconClass name of the icon element
p-confirmpopup-messageClass name of the message element
p-confirmpopup-footerClass name of the footer element
p-confirmpopup-reject-buttonClass name of the reject element
p-confirmpopup-accept-buttonClass name of the accept element

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
confirmpopup.background
--p-confirmpopup-background
Background of root
confirmpopup.border.color
--p-confirmpopup-border-color
Border color of root
confirmpopup.color
--p-confirmpopup-color
Color of root
confirmpopup.border.radius
--p-confirmpopup-border-radius
Border radius of root
confirmpopup.shadow
--p-confirmpopup-shadow
Shadow of root
confirmpopup.gutter
--p-confirmpopup-gutter
Gutter of root
confirmpopup.arrow.offset
--p-confirmpopup-arrow-offset
Arrow offset of root
confirmpopup.content.padding
--p-confirmpopup-content-padding
Padding of content
confirmpopup.content.gap
--p-confirmpopup-content-gap
Gap of content
confirmpopup.icon.size
--p-confirmpopup-icon-size
Size of icon
confirmpopup.icon.color
--p-confirmpopup-icon-color
Color of icon
confirmpopup.footer.gap
--p-confirmpopup-footer-gap
Gap of footer
confirmpopup.footer.padding
--p-confirmpopup-footer-padding
Padding of footer

Unstyled#

Theming is implemented with the pass through properties in unstyled mode.