The goal of this project is to make working with Stylix easier by visualizing palettes.
demo of the previewer running alongside a text editor:
- list base16 colors from
.json,.yamland.yml- copy hex values to clipboard on button press
- choose palettes by either:
- passing a path as an argument:
pixi run start /etc/stylix/palette.json - or by pressing
fand typing in a valid path at runtime
- passing a path as an argument:
Pixi configuration lives in pyproject.toml.
- install the environment:
pixi install - run the app:
pixi run start /path/to/palette.json - dev mode (css hot reload):
pixi run watch
- run the app:
nix runnix run . -- /path/to/palette.json
- build the package:
nix build- artifacts are in
./result
- dev shell:
nix develop
- Textual - TUI package
- Pixi - Python package manager
- of course, Nix flakes - reproducible dev shell
- package the tool into single executable
- rework palette models so the
baseconcept is required and the actual values are dynamic -> no differentiation between base16 and base24 is needed - add a help page on key
? - add title, author etc if availble in the file
- list multiple palettes from directory
