mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Add new border color variable for increased contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
be0facaba4
commit
24ffe32845
3 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
--color-box-shadow: rgba(var(--color-box-shadow-rgb), 0.5);
|
||||
--color-border: #ededed;
|
||||
--color-border-dark: #dbdbdb;
|
||||
--color-border-maxcontrast: #949494;
|
||||
--font-face: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, sans-serif, 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
||||
--default-font-size: 15px;
|
||||
--animation-quick: 100ms;
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ class DarkTheme extends DefaultTheme implements ITheme {
|
|||
|
||||
'--color-border' => $this->util->lighten($colorMainBackground, 7),
|
||||
'--color-border-dark' => $this->util->lighten($colorMainBackground, 14),
|
||||
'--color-border-maxcontrast' => $this->util->lighten($colorMainBackground, 30),
|
||||
|
||||
'--background-invert-if-dark' => 'invert(100%)',
|
||||
'--background-invert-if-bright' => 'no',
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ class DefaultTheme implements ITheme {
|
|||
|
||||
'--color-border' => $this->util->darken($colorMainBackground, 7),
|
||||
'--color-border-dark' => $this->util->darken($colorMainBackground, 14),
|
||||
'--color-border-maxcontrast' => $this->util->darken($colorMainBackground, 42),
|
||||
|
||||
'--font-face' => "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, sans-serif, 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
||||
'--default-font-size' => '15px',
|
||||
|
|
|
|||
Loading…
Reference in a new issue