nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.3k stars 1.77k forks source link

Use Material You #10899

Open CyberTimon opened 2 years ago

CyberTimon commented 2 years ago

⚠️ Before posting ⚠️

Steps to reproduce

If you have a Samsung device running One UI 4 or newer, download Nextcloud and the UI will be pink.

Tested on a Galaxy A40 and Galaxy S21 Ultra. Both running One UI 4-4.5.

Expected behaviour

The UI should match the color of the color palette and should not be pink.

Actual behaviour

The whole UI in Nextcloud is pink regardless of what color palette is selected in the settings. For example, Google Calculator is correctly blue/black, while Nextcloud is pink.

Android version

12

Device brand and model

Samsung Galaxy S21 Ultra

Stock or custom OS?

Stock

Nextcloud android app version

3.22.1

Nextcloud server version

24.0.6

Using a reverse proxy?

No

Android logs

no logs needed

Server error logs

no logs needed

Additional information

Pink should not be selected if the palette cannot be found

AlvaroBrey commented 2 years ago

Nextcloud does not implement Material You color, only Material 3 styles. The UI color is based on the server color instead (or the user background color on NC 25+).

ae5960e8-a6fc-491f-b252-898ecf59af95 commented 2 years ago

+1

szaimen commented 2 years ago

So maybe starting with material you, the chosen system color should be used as primary color?

cc @jancborchardt and @nimishavijay on this

CyberTimon commented 1 year ago

Closing as the issue is fixed when changing the nextcloud ui color to something slightly blue rather than black.

ThatOneCalculator commented 1 year ago

I think this issue may need to be reopened -- the theme color of the web UI is used, but that's not Material You. Material You involves using the system theme and colors on the phone.

BluePixel4k commented 10 months ago

I would also like to see the app with the color based on the Material You monet colors of your phone and not your server.

After adding this, maybe a toggle button could be added for disabling the monet colors for user who don't like it?