-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Milestone
Description
Description
When I use the following syntax for an admonition block with TIP variant.
[This is the tip contents]{{admonition tip}}
The block is displayed but its style is incorrect. I expect it to have "custom" variant style as in this doc: https://www.patternfly.org/components/alert#alert-variants.
| What I expect to see | What I saw instead |
|---|---|
![]() |
![]() |
Environment
Using v5.3.0 with Patternfly 5.
"@patternfly/quickstarts": "^5.3.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.3.0",
"@patternfly/react-core": "^5.3.4",
"@patternfly/react-icons": "^5.3.2",
"@patternfly/react-styles": "^5.3.1",
"@patternfly/react-table": "^5.3.4",
"@patternfly/react-topology": "^5.2.0",
Others
I think a quick fix would be to set the variant of the TIP admonition to custom or simply unset it. See below:
Line 20 in 1a067a4
| [AdmonitionType.TIP]: { variant: 'default', customIcon: <LightbulbIcon /> }, |
Reference: https://www.patternfly.org/components/alert#alert
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog

