make most modals white

This commit is contained in:
Harvey Tindall
2021-12-31 17:28:08 +00:00
parent cf91ee62ed
commit d1b5b74060
8 changed files with 27 additions and 1328 deletions
+2 -1
View File
@@ -31,8 +31,9 @@ const fixHTML = (infile, outfile) => {
}
}
if (!hasColor) {
items[i].classList.add("~neutral");
if (!hasDark(items[i])) {
// card without ~neutral look different than with.
if (item != "card") items[i].classList.add("~neutral");
items[i].classList.add("dark:~d_neutral");
}
}