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

[$40] Elements' colors depending if background is dark/light #23

Open
danimesq opened this issue Jul 4, 2017 · 1 comment
Open

[$40] Elements' colors depending if background is dark/light #23

danimesq opened this issue Jul 4, 2017 · 1 comment
Labels
enhancement New feature or request

Comments

@danimesq
Copy link
Member

danimesq commented Jul 4, 2017

I'm planning to change the CSS of sidebar elements, but its a problem. I want to change it to white, but for when the background is white? Can you do a system to know the type (darker/whiter) of background?
I think it can help: http://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color
(Maybe without the need to use a jquery plugin).

@danimesq danimesq added the enhancement New feature or request label Jul 4, 2017
@danimesq
Copy link
Member Author

danimesq commented Jul 4, 2017

I preffer the idea of change the font/elements color dynamically, by detecting if background is darker/whiter. Or we can simple use full-white cards (like in the profile) instead of transparent-bg elements.
Regarding the black fonts that don't have background? It can have a black text-shadow.
Just ideas for possibilities, but I think detect background type (darker/whiter) is better, but is the harder way.
I will like so much the profile covers feature, but now my focus is the current background system.

@danimesq danimesq changed the title Elements' colors depending if background is dark/light [$40] Elements' colors depending if background is dark/light Jul 5, 2017
@danimesq danimesq transferred this issue from PeepzHQ/PeeperZN Nov 8, 2022
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

1 participant