Skip to content

Commit 31a5614

Browse files
tanyakaprintminion-co
authored andcommitted
chore(theme): add primary text color variable for improved contrast
fix for limit download text in header in apps-external/files_downloadlimit Signed-off-by: Tatjana Kaschperko Lindt <[email protected]>
1 parent 0fb9497 commit 31a5614

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Themes/OverrideDefaultTheme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public function getCSSVariables(): array {
150150
'--color-main-background-blur' => 'rgba(var(--color-main-background-rgb), .8)',
151151
'--color-primary' => $colorPrimary,
152152
'--color-primary-element' => $colorPrimary,
153+
'--color-primary-text' => 'var(--color-text-maxcontrast)',
153154

154155
// to use like this: background-image: linear-gradient(0, var('--gradient-main-background));
155156
'--gradient-main-background' => 'var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%',

0 commit comments

Comments
 (0)