AlexvZyl / nordic.nvim

🌒 Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.
MIT License
672 stars 42 forks source link

Add visual preview of the colour palette #102

Closed Vibhav201 closed 6 months ago

Vibhav201 commented 7 months ago

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 :)

Nordic

AlexvZyl commented 7 months ago

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!

Vibhav201 commented 7 months ago

That's awesome. Make sure to mention this amazing project by @Aonodensetsu in the acknowledgment section.

https://github.com/Aonodensetsu/prev_gen

AlexvZyl commented 7 months ago

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.

AlexvZyl commented 7 months ago

You could actually also add the python file for if we want to regenerate it in the future.

Vibhav201 commented 7 months ago

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?

AlexvZyl commented 7 months ago

First time for everything!

Aonodensetsu commented 7 months ago

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

AlexvZyl commented 7 months ago

The palette tool actually supports full recreation of the code from the picture itself 😎

That's awesome :D

Vibhav201 commented 7 months ago

You can check the PR. :)

AlexvZyl commented 6 months ago

Closed in #104. Thanks again!