update remove-darkmode.js

This commit is contained in:
somrat sorkar
2023-05-29 16:36:58 +06:00
parent 9629eaed56
commit 03c01b7203
4 changed files with 9 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ function removeDarkModeFromPages(directoryPath) {
} else if (stats.isFile()) {
removeDarkModeFromFiles(filePath, [
'(?:(?!["])\\S)*dark:(?:(?![,;"])\\S)*',
"@apply?(\\s)*;",
]);
}
});