Skip to content

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 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
    from prev_gen import Previewer
    palette = [...]
    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 declarations

Resources

License

Stars

Watchers

Forks

Contributors

Languages