This commit is contained in:
MotorTruck1221
2025-05-05 00:16:07 -06:00
parent 44a42117f3
commit e53b28f777
3 changed files with 26 additions and 21 deletions
+5 -9
View File
@@ -8,15 +8,11 @@ import Header from "@components/Header.astro";
import "@styles/global.css";
import "@styles/default.css";
readdir(
pathJoin("src", "styles", "themes"),
{ encoding: "utf-8" },
(err, files) => {
files.forEach(async (name) => {
await import(`../styles/themes/${name.replace(".css", "")}.css`);
});
}
);
readdir(pathJoin("src", "styles", "themes"), { encoding: "utf-8" }, (err, files) => {
files.forEach(async (name) => {
await import(`../styles/themes/${name.replace(".css", "")}.css`);
});
});
---
<!doctype html>
<html lang="en">