Theming documentation for Terminal component
List of class names used in the styled mode.
className | description |
---|---|
p-terminal | Class name of the root element |
p-terminal-welcome-message | Class name of the welcome element |
p-terminal-command-list | Class name of the command list element |
p-terminal-command | Class name of the command element |
p-terminal-command-value | Class name of the command value element |
p-terminal-command-response | Class name of the command response element |
p-terminal-prompt | Class name of the prompt element |
p-terminal-prompt-label | Class name of the prompt label element |
p-terminal-prompt-value | Class name of the prompt value element |
List of design tokens.
token | CSS Variable | description |
---|---|---|
terminal.background | --p-terminal-background | Background of root |
terminal.border.color | --p-terminal-border-color | Border color of root |
terminal.color | --p-terminal-color | Color of root |
terminal.height | --p-terminal-height | Height of root |
terminal.padding | --p-terminal-padding | Padding of root |
terminal.border.radius | --p-terminal-border-radius | Border radius of root |
terminal.prompt.gap | --p-terminal-prompt-gap | Gap of prompt |
terminal.command.response.margin | --p-terminal-command-response-margin | Margin of command response |
Theming is implemented with the pass through properties in unstyled mode.