Theming documentation for Timeline component
List of class names used in the styled mode.
className | description |
---|---|
p-timeline | Class name of the root element |
p-timeline-event | Class name of the event element |
p-timeline-event-content | Class name of the content element |
p-timeline-event-opposite | Class name of the opposite element |
p-timeline-event-separator | Class name of the separator element |
p-timeline-event-marker | Class name of the marker element |
p-timeline-event-connector | Class name of the connector element |
List of design tokens.
token | CSS Variable | description |
---|---|---|
timeline.event.min.height | --p-timeline-event-min-height | Min height of event |
timeline.horizontal.event.content.padding | --p-timeline-horizontal-event-content-padding | Event content padding of horizontal |
timeline.vertical.event.content.padding | --p-timeline-vertical-event-content-padding | Event content padding of vertical |
timeline.event.marker.size | --p-timeline-event-marker-size | Size of event marker |
timeline.event.marker.border.radius | --p-timeline-event-marker-border-radius | Border radius of event marker |
timeline.event.marker.border.width | --p-timeline-event-marker-border-width | Border width of event marker |
timeline.event.marker.background | --p-timeline-event-marker-background | Background of event marker |
timeline.event.marker.border.color | --p-timeline-event-marker-border-color | Border color of event marker |
timeline.event.marker.content.border.radius | --p-timeline-event-marker-content-border-radius | Content border radius of event marker |
timeline.event.marker.content.size | --p-timeline-event-marker-content-size | Content size of event marker |
timeline.event.marker.content.background | --p-timeline-event-marker-content-background | Content background of event marker |
timeline.event.marker.content.inset.shadow | --p-timeline-event-marker-content-inset-shadow | Content inset shadow of event marker |
timeline.event.connector.color | --p-timeline-event-connector-color | Color of event connector |
timeline.event.connector.size | --p-timeline-event-connector-size | Size of event connector |
Theming is implemented with the pass through properties in unstyled mode.