Add visual preview of the colour palette
Vibhav201 opened this issue ยท 10 comments
Hey, thank you for this amazing theme. I just wish it had many official ports (like Catppuccin and Dracula), maybe in the future.
For now, I think there should be a colour palette preview available to view in the README.md for easy acces to the palette. This might also help others in making ports.
So, I made one :)
Wow, thanks!
I have been wanting to add one of these for a while now. I will make a PR at some time adding this image in the README. Thanks!
That's awesome. Make sure to mention this amazing project by @Aonodensetsu in the acknowledgment section.
You can make a PR if you want? Just link the image in this issue in the README, and put it at the end of the palette section.
You could actually also add the python file for if we want to regenerate it in the future.
I was trying to avoid the hassle because I have never made a PR. I guess I need to learn how to do it somehow. I think the first step should be cloning this repo locally?
First time for everything!
- Fork the repo
- Clone it locally
- Make the changes
- Commit the changes with a nice message :) Something like "Docs(palette): Add preview and python scritp"
- Make a PR
The palette tool actually supports full recreation of the code from the picture itself ๐
edit:
from prev_gen import Reverse
Reverse('picture.png')
also except for python, it also supports json, yaml and toml for reading and saving
from prev_gen import Preview, YAML
Preview(YAML.read('palette.yml').palette)
and comes with a cli tool that can do pretty much everything
The palette tool actually supports full recreation of the code from the picture itself ๐
That's awesome :D
You can check the PR. :)