Skip to content

Commit 1f6a214

Browse files
committed
dark-mode: adjust the search
This includes the search box as well as the search results page. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 326dfb1 commit 1f6a214

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

assets/sass/dark-mode.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
$fixed-width-font-color: #4e443c;
1111
$button-bg-color: rgba(223, 221, 213, 0.33);
1212
$button-bg-hover-color: rgba(250, 250, 250, 0.9);
13+
$mark-color: #ff0;
1314
$base-border-color: #d8d7cf;
1415
$callout-color: #e9e8e0;
1516
$highlight-bg-color: #eee0b5;
@@ -28,6 +29,7 @@
2829
$nav-link-color: #979594;
2930
$fixed-width-font-color: #afa7a0;
3031
$button-bg-hover-color: rgba(223, 221, 213, 0.6);
32+
$mark-color: #aeae74;
3133
$base-border-color: #b3b2a7;
3234
$callout-color: #555555;
3335
$highlight-bg-color: #7d724f;
@@ -90,6 +92,14 @@
9092
color: var(--light-font-color);
9193
background-color: #5e5951;
9294
}
95+
96+
form#search {
97+
@include box-shadow(none);
98+
}
99+
100+
input.pagefind-ui__search-input {
101+
background: var(--main-bg);
102+
}
93103
}
94104
}
95105

@@ -111,6 +121,7 @@
111121
--fixed-width-font-color: #{$fixed-width-font-color};
112122
--button-bg-color: #{$button-bg-color};
113123
--button-bg-hover-color: #{$button-bg-hover-color};
124+
--mark-color: #{$mark-color};
114125
--base-border-color: #{$base-border-color};
115126
--base-border-color-darker-8: #{darken($base-border-color, 8%)};
116127
--base-border-color-lighter-10: #{lighten($base-border-color, 10%)};

assets/sass/normalize.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ h1 {
141141
*/
142142

143143
mark {
144-
background: #ff0;
144+
background: var(--mark-color);
145145
color: #000;
146146
}
147147

0 commit comments

Comments
 (0)