Skip to content

Releases: InioX/matugen

v2.4.1

13 Nov 20:58
cb9f81e
Compare
Choose a tag to compare

Fixed

  • remove wallpaper.set option
  • add dump-json to default featues

Other

  • run cargo fmt
  • (readme) add discord server link

v2.4.0

09 Nov 10:17
ab0a12f
Compare
Choose a tag to compare

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 and post_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, remove ahash and IndexMap
  • 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 and format_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 to closest_color (#83)
  • separate some stuff into functions
  • format code
  • run cargo fmt
  • (readme) update version badges

Added

  • add set_alpha filter

v2.3.0

30 May 21:40
b399acb
Compare
Choose a tag to compare

Added

  • rework harmonized colors into custom colors

Fixed

  • nixos flake compile error
  • update material-colors to 0.3.1 (#69)

Other

  • Merge pull request #73 from vt-d/patch-1
  • Fix issue #71
  • update material-colors to 0.3.2
  • update material-colors
  • support x86_64-linux + aarch64-linux by default
  • make supportedSystems overridable

v2.2.0

28 Mar 20:32
5662775
Compare
Choose a tag to compare

Added

  • add harmonized_colors to --json flag (#53)
  • add to_upper and to_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 in dump_json (#53)

Other

  • (readme) update features
  • (readme) add arch install guide
  • Merge pull request #58 from Ehllay/main
  • Merge pull request #57 from InioX/dev
  • remove error message when compiling template
  • run clippy fix

v2.1.0

03 Feb 17:25
f0d47fd
Compare
Choose a tag to compare

Added

  • add --contrast flag

Fixed

  • add back source_color to --show-colors
  • use IndexMap for --show-colors table

Other

  • Merge pull request #52 from InioX/dev
  • (readme) update acknowledgements
  • (readme) remove roadmap
  • bump material-colors ver

v2.0.0

01 Feb 10:11
702e912
Compare
Choose a tag to compare

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

25 Dec 08:30
337ccbc
Compare
Choose a tag to compare

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

14 Dec 20:47
f657ccd
Compare
Choose a tag to compare

Fixed

  • red color being blue in generated file

matugen-v1.1.0

14 Dec 19:38
ead1f17
Compare
Choose a tag to compare

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

matugen-v1.0.0

11 Dec 19:56
80a5d77
Compare
Choose a tag to compare

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 }}

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 or args directly
  • move some files into os specific folders
  • move update_informer into a function
  • format with cargofmt