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

generated colors mixed in templates #3

Closed
bl4ckb1rd77 opened this issue May 31, 2023 · 2 comments
Closed

generated colors mixed in templates #3

bl4ckb1rd77 opened this issue May 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bl4ckb1rd77
Copy link

bl4ckb1rd77 commented May 31, 2023

for example i create an wofi styles.css
the primary color from a wallpaper is shown by matugen as
#b7c8e1 but the color in the generated css is
#b7e1c8

so color.green and color.blue is switched

also if i use primary.rgb

btw .hex is not working in templates.

template.rs line 155, 159 & 165
replacement: format!("rgb({:?}, {:?}, {:?})", color.red, color.blue, color.green)

red green blue ;)

@bl4ckb1rd77
Copy link
Author

had to checkout and build it on my own with changed templates.rs and all worked perfect

InioX added a commit that referenced this issue Jun 2, 2023
@bl4ckb1rd77
Copy link
Author

checked out and installed --path .
worked perfect so it's fixed

InioX added a commit that referenced this issue Jun 2, 2023
InioX pushed a commit that referenced this issue Jun 2, 2023
Fix overflows in quantize module
@InioX InioX added the bug Something isn't working label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants