-
Notifications
You must be signed in to change notification settings - Fork 442
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
Dark theme fixes #1451
Dark theme fixes #1451
Conversation
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
… notifications Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Fixed some additional things, and there’s also further issues which someone else needs to check out though: |
Signed-off-by: Joas Schilling <coding@schilljs.com>
I'm not sure which share menu you are talking about? On the password thingy I don't know what's wrong. we use the correct class: Line 532 in 95e69a3
spreed/js/views/callinfoview.js Line 51 in 79632c1
Also once a password is set, it works as expected too. |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Okay, found the problem. The regex in https://github.com/nextcloud/server/blob/20519434879dd0ee9278d0871d92e9c11295adfd/lib/private/Template/IconsCacher.php#L188 doesn't match if there is a transformation as well: I removed the transformation for now and adjusted the viewport, I guess it still looks the same, at least I couldn't see a difference. but maybe you @jancborchardt or @skjnldsv know more? |
@nickvergessen which icon are we talking about? |
The image is in 2ee1b41 I'm very bad at regexes, especially with look-ahead and stuff, but I can try |
… dark theme Actual fix is adjusting the regex on the server, allowing commas in the first regex: nextcloud/server#13650 Signed-off-by: Joas Schilling <coding@schilljs.com>
2ee1b41
to
54b6e88
Compare
Right, fixed in the server with nextcloud/server#13650 But also fixed in the app by adding |
Looks all good with your fixes @nickvergessen, thanks a lot! :) 👍 (Can’t Approve my own pull request ;) |
/backport to stable15 |
backport to stable15 in #1452 |
Since 95e69a3 non-avatar icons are shown in black instead of white with the normal theme. Is that intended? |
Yes had to, the other apps do this since a long time already, i tried to block it because i think white looks more beautiful, but on dark mode nothing is visible otherwise |
Hmm, @nickvergessen I agree with you that white looks more beautiful (and is in line with our placeholder images with the initial). On dark mode it should also be white – we probably need to add an exception in the dark theme so that icons in these circles are never inverted. (We have the same issue for icons in primary buttons, like for creating a new user in the user management. Icons in primary buttons should also be white in both normal and dark theme.) @skjnldsv @juliushaertl what do you think? A rule in the color inversion to skip the icons inside other forms (at least if it’s standards like these avatar-like elements, or primary buttons) would probably be good? |
Before:
After:
Please review @danxuliu @nextcloud/designers :)