summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-12-20 14:47:33 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-12-20 14:53:17 +0100
commitfde6914ae19bb967c1767222b4c6e49add51a2e6 (patch)
treeebbb67e9d322a6cbfd5722da30c6d3db661335e4 /apps/dashboard/src
parent2d13ab50c7ebe4163a94a508f0a376c30de6b7e2 (diff)
downloadnextcloud-server-fde6914ae19bb967c1767222b4c6e49add51a2e6.tar.gz
nextcloud-server-fde6914ae19bb967c1767222b4c6e49add51a2e6.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/src')
-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%;