Tooltip Theming

Theming documentation for Tooltip component

Styled#

CSS Classes#

List of class names used in the styled mode.

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
tooltip.max.width
--p-tooltip-max-width
Max width of root
tooltip.gutter
--p-tooltip-gutter
Gutter of root
tooltip.shadow
--p-tooltip-shadow
Shadow of root
tooltip.padding
--p-tooltip-padding
Padding of root
tooltip.border.radius
--p-tooltip-border-radius
Border radius of root
tooltip.background
--p-tooltip-background
Background of root
tooltip.color
--p-tooltip-color
Color of root

Unstyled#

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