Repository navigation
Conversation
dracula logo on public folder.
| /* Borders & Dividers */ | ||
| html[data-theme='dracula'] { | ||
| --vp-c-divider: #44475a; | ||
| --vp-c-border: #6272a4; | ||
| --vp-c-gutter: #191a21; | ||
| } |
There was a problem hiding this comment.
We currently have no option to set colors to dividers and stuff for theme files like catpuccin.ts and dracula.ts. So i added this to override for now, since default color for these variables are hard to see because of the bg color of dracula theme.
lemme know if we can refactor theme files to support theming borders and dividers.
|
Nice work much appreciated, I'll pass this onto our Discord to get thoughts from other devs first |
|
is the |
Where can I get the svg file of their icon? I only got it from their Wikipedia page which is in webp format. |
Summary
Adds the Dracula color theme (light and dark variants) and updates the color picker to resolve local preview assets via VitePress
withBase.Changes
draculaThemeconfig (docs/.vitepress/theme/themes/configs/dracula.ts) and registered it inthemeRegistry(index.ts).style.scss.ColorPicker.vueto support relative/root-relative paths (/,.) wrapped inwithBase()for base URL compatibility.docs/public/dracula.webppreview thumbnail.Verification
Screenshots
Theme picker:

Dark:


Alucard for light theme too:
