A dracula-like color scheme originated from the hexo theme yilia, inspired by Dracula.
See my blog to look how it works.
I want to build plugins(not only color scheme) rather than a theme. It's up to you to decide which files you want to import, and it's easy to uninstall any of these plugins if you don't need it anymore. It doesn't cause any side-effect.
Get a dracula theme in your yilia blog is easy.
- Just copy the
dracula.scss
file and paste it to thesource-src/css
folder in your yilia folder.
cp dracula.scss <your-path>/blog/theme/yilia/source-src/css
- Open the
main.scss
file in thecss
folder, and add one line in the last of the file:
@import "./dracula";
Remind to copy tooltip.svg
in the img
as well, and paste it to the img
folder in the source-src
file of your yilia theme.
- Compile with webpack in your
yilia
folder:
npx webpack
- Regenerate your blog content in your
blog
folder with:
hexo clean && hexo g
- enable configuration from yaml(the .yml file)
- reconstruct the code if I have time cuz it's messy
- install script in one-click
- do more tests
- draculafy the smart menu
- find a better way to display content
- customized social icons (if you would like to)!
- the file tree
- maybe some animations
- fix other minor bugs
Since the source theme yilia has been out of maintainance for alomost 5 years,
and during this time, hexo has some major changes making some of the functions and styles NO LONGER IN EFFECT. I have fixed
some of them, and the files are also avilable on this repository (they are under the yilia
folder).