From ac34bdba00413b4fcd7c7336d226e8d1048f0bee Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Sun, 28 May 2023 08:45:19 +0600 Subject: [PATCH] fixed search broken issue partially --- assets/scss/module-overrides.scss | 12 ++++++------ exampleSite/postcss.config.js | 1 + package.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/assets/scss/module-overrides.scss b/assets/scss/module-overrides.scss index d5e067b..b0829c9 100644 --- a/assets/scss/module-overrides.scss +++ b/assets/scss/module-overrides.scss @@ -51,17 +51,17 @@ @apply dark:bg-darkmode-theme-light dark:shadow-none; } .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 { @apply dark:text-darkmode-dark; } u { @apply dark:text-darkmode-primary; } - [data-result-item]:focus, - [data-result-item][aria-selected="true"], - [data-result-item]:hover { - @apply dark:bg-darkmode-primary/10; - } + // &:focus, + // &[aria-selected="true"], + // &:hover { + // @apply dark:bg-darkmode-primary/10; + // } } } diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js index ca5af49..07edc4c 100644 --- a/exampleSite/postcss.config.js +++ b/exampleSite/postcss.config.js @@ -20,6 +20,7 @@ const purgecss = { /^zoom/, /^:is/, /^dark/, + /^search/, /dark/, /show/, /dragging/, diff --git a/package.json b/package.json index 4fa0f60..1dd2cde 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "author": "zeon.studio", "scripts": {