Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 2.23 KB

README.md

File metadata and controls

29 lines (24 loc) · 2.23 KB

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