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

Set color on category label using the algorithm #1722

Open
rafalp opened this issue Jan 15, 2024 · 0 comments
Open

Set color on category label using the algorithm #1722

rafalp opened this issue Jan 15, 2024 · 0 comments
Labels
area: backend This issue involves Python, Django or dependency (eg. database) area: theme This issue involves HTML and CSS

Comments

@rafalp
Copy link
Owner

rafalp commented Jan 15, 2024

Current category labels have hardcoded white text color. We could use an algorithm like this one to dynamically decide if color should be black or white:

Zrzut ekranu 2024-01-15 o 19 13 39
@rafalp rafalp added area: backend This issue involves Python, Django or dependency (eg. database) area: theme This issue involves HTML and CSS labels Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend This issue involves Python, Django or dependency (eg. database) area: theme This issue involves HTML and CSS
Projects
None yet
Development

No branches or pull requests

1 participant