nextcloud / richdocuments

πŸ“‘ Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
355 stars 116 forks source link

Switch colors to 3 accent colors #2404

Open juliusknorr opened 2 years ago

juliusknorr commented 2 years ago

We should use individual accent colors per application which would be based on the color of the file type icons

juliusknorr commented 2 years ago

@jancborchardt Should we use the accent color for all places where the primary color is being used or shall we still keep the Nextcloud blue (theming color) bar in the top or other elements for example?

jancborchardt commented 2 years ago

@juliushaertl I would say to use it everywhere where the primary color is used in Office right now:

What we should not change / what should stay default:

We also need to make sure that it’s accessible. Here are the colors of the current favicons and proposed better colors based on the color contrast checker at https://webaim.org/resources/contrastchecker/ (to work even with white text on top on AA)

juliusknorr commented 1 year ago

Currently we only pass over already generated color values from the theming app, but we would need to then do those calculations (base on dark/light theme and the mixing with the background color ourselves). Sadly this is only available in the backend, and we'd probably need a way to do this in javascript in https://github.com/nextcloud/richdocuments/blob/3eece5e50574d088975800776fafd2ded0aacf1e/src/helpers/coolParameters.js#L48-L64

ananyak19 commented 1 year ago

Hey is this available? Can I work on this issue?