Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some more filters #99

Open
NotMephisto opened this issue Aug 11, 2024 · 2 comments
Open

Add some more filters #99

NotMephisto opened this issue Aug 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@NotMephisto
Copy link

NotMephisto commented Aug 11, 2024

A blend filter can be added to mix colors that are already present.

For example, by taking background and primary or instead of primary you can take source color to get an accent background. This filter can give a little more possibilities to implement colors or you can make accent background, so that it generates it based on the colors that are already there

@NotMephisto
Copy link
Author

It will be easier to use blend with template files, for example like this

@define-color background {{ colors.background.default.hex | blend = {{ colors.primary.default.hex }} }};

So that it generates that color immediately without having to put it into config.toml

@InioX
Copy link
Owner

InioX commented Aug 13, 2024

I'll look into it after I add adjust_hue, grayscale, and invert

@InioX InioX added the enhancement New feature or request label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants