Skip to content

Commit f8b44da

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 c11a12c commit f8b44da

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;
@@ -82,6 +84,14 @@
8284
color: var(--light-font-color);
8385
background-color: #5e5951;
8486
}
87+
88+
form#search {
89+
@include box-shadow(none);
90+
}
91+
92+
input.pagefind-ui__search-input {
93+
background: var(--main-bg);
94+
}
8595
}
8696
}
8797

@@ -103,6 +113,7 @@
103113
--fixed-width-font-color: #{$fixed-width-font-color};
104114
--button-bg-color: #{$button-bg-color};
105115
--button-bg-hover-color: #{$button-bg-hover-color};
116+
--mark-color: #{$mark-color};
106117
--base-border-color: #{$base-border-color};
107118
--base-border-color-darker-8: #{darken($base-border-color, 8%)};
108119
--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)