Skip to content

Create a palette preview image by using a simple config file

License

Notifications You must be signed in to change notification settings

Aonodensetsu/prev_gen

Repository files navigation

Create a palette preview image by using simple declarations

size files
python version
license releases
wiki changelog
ko-fi

Usage:

Consider using the new GUI (repo) instead.

  1. pip install prev_gen
  2. Open up the wiki to see how everything works
  3. Create a file based on instructions (or just edit the python, yaml, json, or toml examples)
  4. # in a python file
    palette = [...]
    from prev_gen import Previewer
    Previewer(palette)
    or use the cli tool prev_gen for conversions with no code

Migration to v6

If you're using an older version of the library, pin the version to prev_gen<6.0.0 or upgrade by following the guide.

Example:

Inspired by the great Gruvbox theme, where even the preview is impressive
And so, below is the Gruvbox palette preview recreated with this app (click for selectable text)
example

About

Create a palette preview image by using a simple config file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages