matugen icon indicating copy to clipboard operation
matugen copied to clipboard

Add configuration items to implement templates that execute light and dark separately.

Open acdcbyl opened this issue 1 year ago • 4 comments

When I use matugen to generate colours, I sometimes need to use separate templates for light and dark, and I'd like to be able to add an option to the config file (e.g. mode-run) to run the templates separately. I'm not sure if this feature is necessary, but it does improve the level of customisation. All in all, thanks to the developers!☺️

acdcbyl avatar Dec 20 '24 08:12 acdcbyl

Do you mean using one template if the mode is dark, and another one if the mode is light?

InioX avatar Mar 29 '25 21:03 InioX

Do you mean using one template if the mode is dark, and another one if the mode is light?

That's right.

acdcbyl avatar Mar 29 '25 23:03 acdcbyl

Has this been implemented?

Packjackisback avatar Mar 31 '25 00:03 Packjackisback

Should work now? Look at the config.toml for example usage. https://github.com/InioX/matugen/blob/32daa15f6f8b57102e7f024e57dd9cc17999c495/example/config.toml#L22-L27

InioX avatar Mar 31 '25 14:03 InioX