Conversation
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
…theming on Windows. Minor code fixes in several places. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
…into client-theming
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
|
Now that @misch7 did the work for dark mode support on Mac, I think we should instead build on that effort and hook up Windows to it instead of developing an entire system like this one. This is kind of unfortunate timing wise since you clearly spent quite some time on this PR... |
Follow-up: |
No worries, as this is work from nearly one year ago and massively outdated, I didn't expect anything to come for this anyways.. |
As mentioned in #1429 the nextcloud client UX would definitely profit from an implementation of theming capabilities as used with modern OS dark/light modes. This is it.
Progress so far:
You can see the result (initial design, live awareness of OS changes and user settings) for Windows in the following animation:
However, to continue on this I summon you, @nextcloud/desktop 🚀 💯 I'm pretty sure there will be a lot of input/ideas/constructive criticism, especially as I'm not a designer by nature - there definitely are rough edges. My proposal: Let's define requirements and coordinate desires here before implementing macOS/Linux to save us from multiplied/unnecessary effort in the code-behind. When the design implementation and UX is fixed and fine, additions of macOS/Linux functions for OS theme awareness is not a big hassle and I'll happily complete this.
Speaking of "native designers" btw.: As you can see, my implementation of dark/light themes relies on predefined stylesheets (darktheme.qss and lighttheme.qss respectively). IMHO this may make testing and contribution of design changes in the future easier. Same applies to the global event handler, that is actually pretty small as it's only used for this theme awareness but has potential to prove useful in several scenarios I think.
One last thing: As #1429 isn't reviewed/finished yet, the share widget popup is not yet themed. I'll care about this if changes from that PR are fixed (merged).