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
Change the default navbar style from orange to light for light theme #2288
Change the default navbar style from orange to light for light theme #2288
Conversation
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Job #1644: Bundle Size — 11.01MiB (~-0.01%).Warning Bundle contains 19 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
View job #1644 report View florian-h05:change-default-bars-... branch activity View project dashboard |
before you merge: why? |
I put this as a proposal to discuss it, so I'm happy that you ask. Whilst the orange navbar shows openHAB's color, the orange can be quite "pushy", so @mstormi asked me to make the normal navbar the default. WDYT? |
Can we see a screenshot? |
You can already switch navbar to that mode (via "about" menu), it's just about making that the default. |
Sorry I reacted urgently as I was unsure if you would merge this directly, and I'm admitting I didn't see https://community.openhab.org/t/permastore-ui-look-options/152052/7, so thanks for the link. For full disclosure, I remember my initial UI project and it had the iOS and desktop themes set to light/dark and only the Android theme had the orange navbar (in light theme only), as Android apps tended to have such colored navbars at the time.
I seem to remember a conversation with @kaikreuzer (but I do not remember if it was on GitHub or on Slack) convincing me to put the filled bars on the desktop mode, as it was the 'brand color' - again, IIRC. I just didn't want those filled bars on iOS as I thought it was very un-iOSy to have filled bars on iPhones so I agreed. So there you have it, I don't offer an opinion, just the context. |
Thanks for sharing the context. I haven’t used an Android phone for a while now, is that still the common Android design to have coloured bars? |
@openhab/android-maintainers Can you please tell me whether Android still often users coloured nav bars? |
The Android app uses a light/dark top bar since the Material You redesign. |
Okay thanks. WDYT matches better to Material You? The orange navbar or the light/dark navbar? |
I'd say the light one (is this orange-on-white?), as the app itself doesn't have a colored top bar anymore and thus the phone status bar has a white background as well: Ideally we could pass an accent color into the UI as well, but I imagine that would be larger effort... |
Your screenshot shows filled (this is orange on white), which is the current default on Android. So we should keep this default? |
My screenshot was intended to show this default should not be kept ;-) With older versions of the app, the status bar background was orange as well, as was the whole app title bar. Nowadays, the app title bar is white(-ish, might change slightly with dynamic theme): ... thus I think the default should be changed, since the orange bar in combination with white status bar looks a bit out of place now. (I wasn't aware of this being an option, or I would have raised an issue before) |
Thanks for the clarification, so we should use the light (non-orange) bar as default for Android. I will update this PR to only keep the orange bars as default for the desktop theme. |
Why? The orange is pushy, no matter if Android or desktop. |
True, but I'm hesitant because it still is the "brand-color" and no one else has complained yet. |
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Let me just switch the order of the navigation bar style pickers, so the new default is still on the left. |
…penhab#2288) Signed-off-by: Florian Hotze <florianh_dev@icloud.com> Signed-off-by: Arne Seime <arne.seime@gmail.com>
This is a proposal, please discuss it.