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

[Feature request] Format text color based on windspeed color #47

Open
autumnwalker opened this issue Nov 27, 2023 · 5 comments
Open

[Feature request] Format text color based on windspeed color #47

autumnwalker opened this issue Nov 27, 2023 · 5 comments

Comments

@autumnwalker
Copy link

Hello!

Is it possible to format the text color based on the windspeed color? The default "light" color scheme uses a dark blue background and black text for the initial windspeed / center of rose - it is difficult to read.

If you change rose_percentages to white then they become illegable outside of the center. If you change bar_percentages then they become illegable on the lighter wind speed colors.

@aukedejong
Copy link
Owner

Can you share a screencapture here?

So you would like the text color to change depending on the background color.
Do you have an idea on how to do that, without using al lot of different colors?

@autumnwalker
Copy link
Author

Screenshot 2023-11-29 at 11 10 38 AM

From the screenshot you can see that the percentage in the middle of the rose is hard to read.

I changed bar_percentages to white in this screenshot, which makes the darker (lower) percentages readable, but as you can see getting up into the 20+ km/h gets harder to read.

Unfortunately I don't have a good solution on how to achieve this - sorry.

@aukedejong
Copy link
Owner

I'll think about this.
Don't have much time to spare. Maybe I can fix something during the Christmas holidays.

Thanks for your input.

@autumnwalker
Copy link
Author

Much appreciated! I'm not a dev or anything ... but I'm happy to help test or whatever I can.

@autumnwalker
Copy link
Author

Got some more wind yesterday - another screenshot to illustrate the white text on colored background.
IMG_0023

@aukedejong aukedejong changed the title Format text color based on windspeed color [Feature request] Format text color based on windspeed color Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants