mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 00:02:54 -04:00
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>
This commit is contained in:
parent
42dee2e29f
commit
ba336f650b
2 changed files with 7 additions and 4 deletions
|
|
@ -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%;
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ $header-icon-size: 20px;
|
|||
width: 12px;
|
||||
height: 5px;
|
||||
border-radius: 3px;
|
||||
background-color: var(--color-primary-element-text);
|
||||
background-color: var(--color-primary-text);
|
||||
left: 50%;
|
||||
bottom: 6px;
|
||||
display: block;
|
||||
|
|
@ -177,7 +177,8 @@ $header-icon-size: 20px;
|
|||
width: calc(100% - 4px);
|
||||
height: calc(100% - 4px);
|
||||
margin: 2px;
|
||||
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);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
@ -194,7 +195,8 @@ $header-icon-size: 20px;
|
|||
opacity: 0;
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
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;
|
||||
left: 50%;
|
||||
top: 45%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue