diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js index aa3b810..6e1d04f 100644 --- a/exampleSite/postcss.config.js +++ b/exampleSite/postcss.config.js @@ -18,10 +18,9 @@ const purgecss = { /^gi/, /^desc/, /^zoom/, - /^:is/, - /^dark/, /^search/, /^[aria-selected]/, + /^:is/, /dark/, /show/, /dragging/, diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 9711771..dae937a 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -1,11 +1,9 @@ {{ define "main" }} - -
-
-
- {{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }} +
+
+
+ {{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }} +
-
- -{{ end }} \ No newline at end of file +{{ end }} diff --git a/package.json b/package.json index 9fee342..f458c33 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "author": "zeon.studio", "scripts": { diff --git a/scripts/removeDarkmode.js b/scripts/removeDarkmode.js index cfc1e08..7fe4218 100644 --- a/scripts/removeDarkmode.js +++ b/scripts/removeDarkmode.js @@ -37,6 +37,7 @@ function removeDarkModeFromPages(directoryPath) { } else if (stats.isFile()) { removeDarkModeFromFiles(filePath, [ '(?:(?!["])\\S)*dark:(?:(?![,;"])\\S)*', + "@apply?(\\s)*;", ]); } });