Format shit

This commit is contained in:
MotorTruck1221
2025-05-04 23:57:30 -06:00
parent a78ab8e1b2
commit 5f640d8e06
21 changed files with 338 additions and 298 deletions
+9 -5
View File
@@ -8,11 +8,15 @@ import Header from "@components/Header.astro";
import "@styles/global.css";
import "@styles/default.css";
readdir(pathJoin(import.meta.dirname, '..', 'styles', 'themes'), { encoding: 'utf-8' }, (err, files) => {
files.forEach(async (name) => {
await import(`../styles/themes/${name.replace('.css', '')}.css`)
});
});
readdir(
pathJoin(import.meta.dirname, "..", "styles", "themes"),
{ encoding: "utf-8" },
(err, files) => {
files.forEach(async (name) => {
await import(`../styles/themes/${name.replace(".css", "")}.css`);
});
}
);
---
<!doctype html>
<html lang="en">