fixed search broken issue partially

This commit is contained in:
somrat sorkar 2023-05-28 08:45:19 +06:00
parent 06cb3ca494
commit ac34bdba00
3 changed files with 8 additions and 7 deletions

View File

@ -51,17 +51,17 @@
@apply dark:bg-darkmode-theme-light dark:shadow-none; @apply dark:bg-darkmode-theme-light dark:shadow-none;
} }
.search-result-item { .search-result-item {
@apply dark:bg-darkmode-body dark:border-darkmode-border; @apply dark:bg-darkmode-body dark:border-darkmode-border p-4;
.search-title { .search-title {
@apply dark:text-darkmode-dark; @apply dark:text-darkmode-dark;
} }
u { u {
@apply dark:text-darkmode-primary; @apply dark:text-darkmode-primary;
} }
[data-result-item]:focus, // &:focus,
[data-result-item][aria-selected="true"], // &[aria-selected="true"],
[data-result-item]:hover { // &:hover {
@apply dark:bg-darkmode-primary/10; // @apply dark:bg-darkmode-primary/10;
} // }
} }
} }

View File

@ -20,6 +20,7 @@ const purgecss = {
/^zoom/, /^zoom/,
/^:is/, /^:is/,
/^dark/, /^dark/,
/^search/,
/dark/, /dark/,
/show/, /show/,
/dragging/, /dragging/,

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.0.0", "version": "1.0.1",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {