- Added a
-t
/--template
flag forflavours list
, to list templates. It supports all the usuallist
options (single line, globbing), and even works for subtemplates if you add a/
(e.g.flavours list '*/default'
) (#67). Thanks, @probably-neb! - You can now use
{scheme}
as asubtemplate
, this is useful when you have additional subtemplates to fix some issues specific schemes might have, it falls back todefault
if one is not found (#66). Thanks, @dive-deeper!
- Document Homebrew package (#74). Thanks, @awanwar!
- Performance improvements (#71). Thanks, @vrmiguel!
- We now use the awesome base16_color_scheme crate as our base16 primitives (#76). Thanks, @titaniumtraveler!
- Flavours will now look for schemes and templates in your configuration directory as well (#48). Thanks, @loiccoyle!
- You can now add
[[extra_scheme]]
and[[extra_template]]
entries to your configuration to configure sources declaratively #62. Thanks, @Softsun2!
- Renamed
item
toitems
on the config. Backwards compatibility is maintained.
- Adds support for base24 schemes and templates.
- Workaround an issue with
cargo install
not respecting locked versions.
- Added a
build
subcommand, which works as traditional base16 builder. Useful for automation. - The
apply
command can now accept schemes from stdin using the--stdin
flag.- Useful for chaining with
generate
:flavours generate dark --stdout example.png | flavours apply --stdin
- Useful for chaining with
- It is now possible to specify which shell to run hooks on. Allowing for bash syntax (or any other shell) syntax.
- It defaults to
sh -c '{}'
, which should work on any POSIX system.
- It defaults to
- Added
light
configuration for apply items, this lets you specify which hooks should be skipped when runningapply
with the new--light
flag.
- Fixed an issue with the alpha channel when generating colors (#22). Thanks, @loiccoyle!
- BrokenPipe panic when piping flavours info to something that closes the stream during execution (#16)
- Decrease minimum luma for dark backgrounds, to avoid ignoring good, saturated-enough colors
- Improves background in light schemes and accent on dark schemes
- Increased minimum luma and decrease maximum saturation of light scheme backgrounds colors.
- Increased minimum luma of dark scheme accent colors.
- Printing colored output with
info
is now the default behavior.- You can use
-r
/--raw
to avoid it.
- You can use
- Add the
generate
sub-command- You can generate schemes based on an image, choosing whether you want a
dark
orlight
scheme - Example usage:
flavours generate dark wallpaper.png && flavours apply generated
- You can generate schemes based on an image, choosing whether you want a
- Added proper scheme completions for fish
- Added
info
sub-command- Allows you to see any scheme info in a human-readable way.
- It shows name, author, colors (in hex), and shows the actual schemes colors if your terminal supports it.
- Improve how we store the templates, sources and lists repositories.
- Instead of a full clone, we now just do a shallow one, checkout exactly what we need and delete the .git
- Update to latest clap version.
- Create default config if it doesn't exist. Better handling of non-existent directory.
- Removed clap logic from module files
- Downgraded clap version to crates.io version (non-git)
- Added
Cargo.lock
- Published on crates.io
Initial release