Skip to content

Commit d8bd988

Browse files
committed
Fix search placeholder animation & dark theme compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 395bde1 commit d8bd988

27 files changed

Lines changed: 159 additions & 196 deletions

apps/accessibility/css/dark.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ $color-main-background: #181818;
55
$color-background-dark: lighten($color-main-background, 4%);
66
$color-background-darker: lighten($color-main-background, 8%);
77

8+
$color-placeholder-light: lighten($color-main-background, 10%);
9+
$color-placeholder-dark: lighten($color-main-background, 20%);
10+
811
$color-text-maxcontrast: darken($color-main-text, 30%);
912
$color-text-light: darken($color-main-text, 10%);
1013
$color-text-lighter: darken($color-main-text, 20%);

apps/accessibility/css/highcontrast.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ $color-main-background: #fff;
55
$color-background-dark: darken($color-main-background, 30%);
66
$color-background-darker: darken($color-main-background, 30%);
77

8+
$color-placeholder-light: darken($color-main-background, 30%);
9+
$color-placeholder-dark: darken($color-main-background, 45%);
10+
811
$color-text-maxcontrast: $color-main-text;
912
$color-text-light: $color-main-text;
1013
$color-text-lighter: $color-main-text;

core/css/css-variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
--color-background-dark: $color-background-dark;
1212
--color-background-darker: $color-background-darker;
1313

14+
--color-placeholder-light: $color-placeholder-light;
15+
--color-placeholder-dark: $color-placeholder-dark;
16+
1417
--color-primary: $color-primary;
1518
--color-primary-light: $color-primary-light;
1619
--color-primary-text: $color-primary-text;

core/css/icons.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ audio, canvas, embed, iframe, img, input, object, video {
115115
}
116116
}
117117

118-
/* ICONS -------------------------------------------------------------------
118+
/**
119+
* ICONS -------------------------------------------------------------------
119120
* These icon classes are generated automatically with the following pattern
120121
* for icon-black-white('close', ...)
121122
* .icon-close (black icon)

core/css/variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ $color-background-hover: nc-darken($color-main-background, 4%) !default;
4040
$color-background-dark: nc-darken($color-main-background, 7%) !default;
4141
$color-background-darker: nc-darken($color-main-background, 14%) !default;
4242

43+
$color-placeholder-light: nc-darken($color-main-background, 10%) !default;
44+
$color-placeholder-dark: nc-darken($color-main-background, 20%) !default;
45+
4346
$color-primary: #0082c9 !default;
4447
$color-primary-light: mix($color-primary, $color-main-background, 10%) !default;
4548
$color-primary-text: #ffffff !default;

core/js/dist/files_client.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/files_client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/files_fileinfo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/files_fileinfo.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/files_iedavclient.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)