Replies: 1 comment 2 replies
-
You can find the /* custom.css */
.VPBadge.my-badge-type {
border-color: var(--vp-badge-info-border);
color: var(--vp-badge-info-text);
background-color: var(--vp-badge-info-bg);
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Further to VitePress badge types "tip, info, warning, danger", how do we define our own badge types with their own colors, properties and borders?
https://vitepress.dev/reference/default-theme-badge
The VitePress guide details how to customize the existing stock badge types, but not how to create other badge types to compliment them.
Beta Was this translation helpful? Give feedback.
All reactions