Skip to content

Latest commit

 

History

History
143 lines (80 loc) · 5.72 KB

CHANGELOG.md

File metadata and controls

143 lines (80 loc) · 5.72 KB

Changelog

Fixes

  • Add missing newline when applying (#78)
  • Set minimum supported rust version (#44)

Additions

  • Added a -t/--template flag for flavours list, to list templates. It supports all the usual list 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 a subtemplate, this is useful when you have additional subtemplates to fix some issues specific schemes might have, it falls back to default if one is not found (#66). Thanks, @dive-deeper!

Fixes

Additions

  • 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!

Changes

  • Renamed item to items on the config. Backwards compatibility is maintained.

Additions

  • Adds support for base24 schemes and templates.

Fixes

  • Workaround an issue with cargo install not respecting locked versions.

Additions

  • 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

Additions

  • 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.

Additions

  • Added light configuration for apply items, this lets you specify which hooks should be skipped when running apply with the new --light flag.

Fixes

  • Fixed an issue with the alpha channel when generating colors (#22). Thanks, @loiccoyle!

Fixes

  • 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

Fixes

  • 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.

Changes

  • Printing colored output with info is now the default behavior.
    • You can use -r/--raw to avoid it.

Additions

  • Add the generate sub-command
    • You can generate schemes based on an image, choosing whether you want a dark or light scheme
    • Example usage: flavours generate dark wallpaper.png && flavours apply generated

Additions

  • Added proper scheme completions for fish

Additions

  • 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.

Changes

  • 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

Fixed

  • Update to latest clap version.

Fixed

  • 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