summaryrefslogtreecommitdiffstats
path: root/apps/dashboard
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-12-20 14:47:33 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-12-20 15:16:35 +0000
commitba336f650bfe3e685d60eb4b9a9b583bb1725ba1 (patch)
treefb36d07d5e6a84f3356fe1593aa6ddde30b9e390 /apps/dashboard
parent42dee2e29f0153bbb15a0d0fe1350d766ae68f18 (diff)
downloadnextcloud-server-ba336f650bfe3e685d60eb4b9a9b583bb1725ba1.tar.gz
nextcloud-server-ba336f650bfe3e685d60eb4b9a9b583bb1725ba1.zip
fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`, so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/dashboard')
-rw-r--r--apps/dashboard/src/DashboardApp.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue
index 78ea29d089b..3676f68fe10 100644
--- a/apps/dashboard/src/DashboardApp.vue
+++ b/apps/dashboard/src/DashboardApp.vue
@@ -465,7 +465,8 @@ export default {
background-attachment: fixed;
> h2 {
- color: var(--color-primary-element-text);
+ // this is shown directly on the background which has `color-primary`, so we need `color-primary-text`
+ color: var(--color-primary-text);
text-align: center;
font-size: 32px;
line-height: 130%;