Add configuration items to implement templates that execute light and dark separately.
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!☺️
Do you mean using one template if the mode is dark, and another one if the mode is light?
Do you mean using one template if the mode is dark, and another one if the mode is light?
That's right.
Has this been implemented?
Should work now? Look at the config.toml for example usage. https://github.com/InioX/matugen/blob/32daa15f6f8b57102e7f024e57dd9cc17999c495/example/config.toml#L22-L27