update remove-darkmode.js
This commit is contained in:
parent
9629eaed56
commit
03c01b7203
@ -18,10 +18,9 @@ const purgecss = {
|
||||
/^gi/,
|
||||
/^desc/,
|
||||
/^zoom/,
|
||||
/^:is/,
|
||||
/^dark/,
|
||||
/^search/,
|
||||
/^[aria-selected]/,
|
||||
/^:is/,
|
||||
/dark/,
|
||||
/show/,
|
||||
/dragging/,
|
||||
|
@ -1,11 +1,9 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
{{ partial "search-page.html" (dict "Context" . "Class" "your-custom-class") }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hugoplate",
|
||||
"description": "hugo tailwindcss boilerplate",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "MIT",
|
||||
"author": "zeon.studio",
|
||||
"scripts": {
|
||||
|
@ -37,6 +37,7 @@ function removeDarkModeFromPages(directoryPath) {
|
||||
} else if (stats.isFile()) {
|
||||
removeDarkModeFromFiles(filePath, [
|
||||
'(?:(?!["])\\S)*dark:(?:(?![,;"])\\S)*',
|
||||
"@apply?(\\s)*;",
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user