Format shit
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user