Theming documentation for Tooltip component
List of class names used in the styled mode.
| className | description |
|---|---|
| p-tooltip2 | Class name of the root element |
| p-tooltip2-arrow | Class name of the arrow element |
| p-tooltip2-content | Class name of the content element |
List of design tokens.
| token | CSS Variable | description |
|---|---|---|
| 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 |
Theming is implemented with the pass through properties in unstyled mode.