Usage:
March 8, 2025 ยท View on GitHub
Create a palette preview image by using simple declarations
Usage:
Consider using the new GUI instead.
pip install prev_gen- Open up the wiki to see how everything works
- Create a file based on instructions (or just edit the python, yaml, json, or toml examples)
-
or use the cli tool# in a python file from prev_gen import Previewer palette = [...] Previewer(palette)prev_genfor 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)
