I tweaked the style from drannex42 a bit to make it only apply to the dark theme and also restore the old blue/purple link colors (all that gray was making it impossible for me to scan the results).
:root {
--search-result-gap: 20px;
--search-result-gap-mobile: 10px;
}
.theme_moon_dark {
/* Restore the background color */
--custom-bg-color: #090c10;
--app-bg: var(--custom-bg-color);
--color-search-input: var(--custom-bg-color);
/* Restore the link colors */
--search-result-title: #58a6ff;
--primary-visited: #deb6fa;
/* Color the underline for each link */
--result-item-title-border: rgba(255, 255, 255, 0.25);
/* Color the background of the date callout next to the preview text */
--search-result-date-bg: rgba(66, 70, 103, 0.25);
}
@media (prefers-color-scheme: dark) {
.theme_moon_dark_conditional {
/* Restore the background color */
--custom-bg-color: #090c10;
--app-bg: var(--custom-bg-color);
--color-search-input: var(--custom-bg-color);
/* Restore the link colors */
--search-result-title: #58a6ff;
--primary-visited: #deb6fa;
/* Color the underline for each link */
--result-item-title-border: rgba(255, 255, 255, 0.25);
/* Color the background of the date callout next to the preview text */
--search-result-date-bg: rgba(66, 70, 103, 0.25);
}
}
.__sri-time {
font-size: 12px;
border-radius: 2px;
margin-right: 3px;
}
.__sri-desc {
padding-top: 3px;
}
.__sri-title {
margin-bottom: 6px;
}
.__sri-url .__sri_url_path_box {
margin-top: 0px;
}
@media screen and (max-width: 1300px) {
.search-result,
.sri-group {
padding-top: 0px !important;
padding-bottom: 0px !important;
margin-bottom: var(--search-result-gap-mobile) !important;
}
}