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