-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Theming: coloring of folders and log in background #378
Comments
I agree on having the element accent color either continue to match the header color when changed, or have its own color picker. Tinting the login background image is an interesting idea, although I'd place it way down the list of theming priorities after things like switching all of the white text everywhere to black when the lightness of the chosen header CSS color goes above a certain lightness level, making it hard to read (eg white header color with white text) |
Changing white text to black text could also be triggered automatically. You can take the lightness of the chosen theme color and define a limit to switch the text color, e.g. lightness of color > 0.5 -> dark text. Then we could avoid adding another configuration option. |
do you want to provide a pull request? Would be great! 😃 |
Sure, but it may take a while, possibly at the end of the next week. |
Great! No need to rush... Looking forward to your pull request! |
@Lord-Protector yeah, great points! I also thought about tinting the background image via CSS. Do you want to prepare a pull request for that maybe? We just need to take care that it works in all browsers. Regarding the folder icons and checkmarks, we have to somehow mess with the SVG. Since the new version will remove the PNG fallback that’s a lot easier. @Lord-Protector do you know how to do that? |
Checkboxes even work without messing around with the SVG. (see #415) We could use mask-image CSS to colorize the folder icons, but that is still not supported in IE/Edge. |
@jancborchardt sorry, I am not a programmer. May be a little bit as hobby. |
@juliushaertl awesome, great work! :) Good to have you on the Design team.
Why is it not possible there – aren’t they also SVG? |
@jancborchardt Thanks! Yeah, if support for Edge isn't that important for this specific feature, than using mask-image would be a good solution to solve this. |
Changed the title of this since the checkboxes are basically fixed by #415 – @Lord-Protector would be nice if you can review it since you opened the issue. ;) |
Great! Thanks to all. Don't forget the status bar (displayed while uploading a file) |
@Brahmachari I think this is fixed in latest master (cc @juliushaertl) |
@Brahmachari |
Fixed with #840 |
Big thanks to our theming guru @juliushaertl! :) 🎉 |
Also I think, that on login page we should use CSS color filter to color the picture on background. Of course, this feature should work only with default background.
I think it's easy to realise, just convert RGB hex code to HSV and then use three CSS tricks:
The text was updated successfully, but these errors were encountered: