From 10a7253fa16f980d3b41f0f73333c7ee56b5e76d Mon Sep 17 00:00:00 2001 From: Sojon Date: Tue, 30 May 2023 13:08:58 +0600 Subject: [PATCH] updated saerch style --- assets/scss/module-overrides.scss | 2 +- exampleSite/go.mod | 2 +- exampleSite/postcss.config.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/scss/module-overrides.scss b/assets/scss/module-overrides.scss index 59bbd77..44f0b7a 100644 --- a/assets/scss/module-overrides.scss +++ b/assets/scss/module-overrides.scss @@ -78,7 +78,7 @@ @apply dark:text-darkmode-primary; } &:focus, - &[aria-selected="true"], + &.search-item-selected, &:hover { @apply dark:bg-darkmode-primary/10; } diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 67c1cad..417b80f 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -16,7 +16,7 @@ require ( github.com/gethugothemes/hugo-modules/images v0.0.0-20230529103733-b628b93bc0f6 // indirect github.com/gethugothemes/hugo-modules/modal v0.0.0-20230529103733-b628b93bc0f6 // indirect github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230529103733-b628b93bc0f6 // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20230529103733-b628b93bc0f6 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20230530061459-8309a3fa32d7 // indirect github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230529103733-b628b93bc0f6 // indirect github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230529103733-b628b93bc0f6 // indirect github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230529103733-b628b93bc0f6 // indirect diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js index 6e1d04f..9a53c98 100644 --- a/exampleSite/postcss.config.js +++ b/exampleSite/postcss.config.js @@ -19,7 +19,6 @@ const purgecss = { /^desc/, /^zoom/, /^search/, - /^[aria-selected]/, /^:is/, /dark/, /show/,