Releases: InioX/matugen
Releases · InioX/matugen
v2.4.1
v2.4.0
Added
- add
mode
keyword - (filter) add auto_lightness filter
- (filter) add camel_case filter
- custom expr and block prefix, postfix
- feature-gated web-image
- feature-gated dumping json
- feature-gated update-informer
- (filters) add
invert
,grayscale and
set_hue` - add timestamp to debug logs
- add more info to debug mode
- add
pre_hook
andpost_hook
(#100) - improve error message for color parsing
- change resize filter to Lanczos3 (#89)
- increase windows stack size to 8mb (fixes #87)
- fix relative paths for templates, format
compare_to
(#83) - add template formatting for hook (#83)
- add
hook
and variables inside it (#83) - add color comparsion (#83)
- add
--prefix
argument - add
version_check
setting (#78)
Fixed
--help
flag not recognized (#112)- parse color bug for rgb (#107)
- (nix) add dump-json feature build flag
- dump_json BTreeSet index
- apply more aggressive clippy lints
- removed deprecated default_features
- removed unused dependency
- cargo fmt & alejandra (nix formatter)
- made unix version compile
- wrong display of alpha channel for
set_alpha
(#95) - divide all alpha values by 255 for output (#95)
- make hooks not depend on
colors_to_compare
(#93) - remove useless debugging
- update arguments to remove borrow error (#85)
Other
- run
cargo fmt
- made contrast configurable in nix module
- make nix module able to generate from color or wallpaper.
- add backup config option to add in anything that isn't explicitly supported
- add custom colors option to nix module.
- format code
- add criterion bench
- move some stuff into template_util (prepare for criterion)
- add schemes_eq test
- use
BTreeSet
, removeahash
andIndexMap
- move template into src/
- Create rustfmt.yml
- update dependencies with breaking changes
- sorted dependencies
- removed unused dependency features
- made enquote only required for builds targeting macOS
- moved scheme out of module with only 1 file
- cargo update
- removed dependency proper-path-tools
- move some stuff into lib instead
- remove useless stuff, add clippy rules
- run cargo fmt + clippy fix
- oops bad merge (#95)
- Merge branch 'main' of https://github.com/InioX/matugen
- add float parameter for
format_hsla
andformat_rgba
(#95) - update CHANGELOG.md
- add the set_alpha filter to the engine
- add format_rgba_float and format_hsla_float functions to format the alpha value as a float instead of u8
- add set_alpha filter
- Nix module: add package option
- bump
material-colors
to 0.4.0 - rename
compared_color
toclosest_color
(#83) - separate some stuff into functions
- format code
- run
cargo fmt
- (readme) update version badges
Added
- add
set_alpha
filter
v2.3.0
Added
- rework harmonized colors into custom colors
Fixed
- nixos flake compile error
- update
material-colors
to 0.3.1 (#69)
Other
v2.2.0
Added
- add
harmonized_colors
to--json
flag (#53) - add
to_upper
andto_lower
filters - add
replace
filter - add
set_lightness
filter - add
colors_to_harmonize
- (config) change
custom_keywords
configuration syntax
Fixed
- move aur publish into
aur.yml
- remove aur action in
main.yml
- format
harmonized_colors
indump_json
(#53)
Other
v2.1.0
v2.0.0
Replace material-colors-utilities-rs
dependency with material-colors
. Which means that amoled mode, android colors and custom palettes (Default, Triadic, Adjacent) have been removed.
New custom scheme types
Added new type -t, --type <TYPE>
argument that replaces the old -p, --palette <PALETTE>
one.
- Sets a custom color scheme type
[default: scheme-tonal-spot]
- List of all types:
- scheme-content
- scheme-expressive
- scheme-fidelity
- scheme-fruit-salad
- scheme-monochrome
- scheme-neutral
- scheme-rainbow
- scheme-tonal-spot
Fixed
- Matugen not compiling on MacOS because of target specific dependencies not working for some reason
Removed
- All Android colors
- source_color
- color_accent_primary
- color_accent_primary_variant
- color_accent_secondary
- color_accent_secondary_variant
- color_accent_tertiary
- color_accent_tertiary_variant
- text_color_primary
- text_color_secondary
- text_color_tertiary
- text_color_primary_inverse
- text_color_secondary_inverse
- text_color_tertiary_inverse
- color_background
- color_background_floating
- color_surface
- color_surface_variant
- color_surface_highlight
- surface_header
- under_surface
- off_state
- accent_surface
- text_primary_on_accent
- text_secondary_on_accent
- volume_background
- Amoled/pure dark mode
- Custom palettes
matugen-v1.2.1
Web Image
matugen web-image "<url>" <other-arguments>
Added
- add image fetched from web
- show template path and name in error
- add template name and path in error
- update syntax
Other
- update gitignore
Fixed
- red color being blue in generated file
- update quantizer arguments #39
- add back source_color
matugen-v1.1.1
Fixed
- red color being blue in generated file
matugen-v1.1.0
Added Custom keywords
- Example config:
[config.custom_keywords.font]
find = 'font1'
replace = 'Google Sans'
- Usage in templates:
{{ custom.font1 }}
Added
- add span of file in template render error
- add custom keywords
Fixed
--show-colors
,--json
not showing without an image- wrong hsl color in generated file
- do not open file before rendering template
Other
- Merge branch 'main' of https://github.com/InioX/matugen
matugen-v1.0.0
Hopefully last breaking change update...
New keyword formats
- hue
- saturation
- lightness
- red
- green
- blue
- alpha
Other template changes
- Changed the syntax from
<prefix>{<stuff>}
to{{ <stuff> }}
- Stuff like
@{surface}
will not work anymore, you now have to:- Specify whether its colors or not. Example:
@{surface}
would be{{ colors.surface }}
. - Specify the mode every time. Example:
@{surface}
would be{{ colors.surface.default }}
if it did not have any specified. - Specify the format every time. Example:
@{surface}
would be{{ colors.surface.default.hex }}
- Specify whether its colors or not. Example:
Note
The image still remains the same, just use the updated syntax. ({{ image }}
)
Config file changes
- Removed
run_after
- Removed
prefix
Added
- update example config and template file
- add
--debug
flag - remove
run_after
- (macos) implement wallpaper setting
- (template) show error if file is not in UTF-8
- (wallpaper) add error is the program to set wallpaper is not in PATH
- (windows) implement setting wallpaper
- add
update-informer
- (logging) add number indicator to logs for templates and run_after
- (logging) update the message format
Fixed
- (template) fix "parent folder does not exist" warning
--quiet
flag still showing output- make
enquote
dependency only for macos target run_after
not working on windows- fix typo in
run_after
function
Other
- clean up
Template::generate
function arguments - run
cargo update
- remove unneeded imports
- update roadmap and wallpaper alert
- format with
cargo fmt
- changed function arguments to not use
config
orargs
directly - move some files into os specific folders
- move update_informer into a function
- format with cargofmt