diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-01-19 22:48:27 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-21 20:36:21 +0200 |
commit | de938bb401bd04af02798417dfa5d96fee057ef1 (patch) | |
tree | e79ba02258f34e6371935737a4861e6f7ef6179d /core/src | |
parent | 0211feb94647a0e329030b66bc4c5b4304d10a0f (diff) | |
download | nextcloud-server-de938bb401bd04af02798417dfa5d96fee057ef1.tar.gz nextcloud-server-de938bb401bd04af02798417dfa5d96fee057ef1.zip |
feat(theming): Separate background and primary color
While the primary color is intended to highlight elements,
it can not always be used as the background color.
So now primary is independent from background a user set,
the background color is, if not set directly, calculated as the mean color
of the background image. That color is then used as a fallback if the
background image could not be loaded and for calculating the color of the text used on the app menu and dashboard (they render directly on the background).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/src')
0 files changed, 0 insertions, 0 deletions