代码布局调整

This commit is contained in:
lutinglt
2025-02-19 11:41:33 +08:00
parent 6a17010a5f
commit af2c71b607
26 changed files with 34 additions and 29 deletions

View File

@@ -11,9 +11,9 @@ interface ThemeInfo {
gitea: Gitea;
}
async function buildTheme(themePath: string) {
async function generateTheme(themePath: string) {
try {
const inputFile = "sass/theme-github.scss";
const inputFile = "src/theme-github.scss";
const outputFile = "dist/theme-github.css";
const result = await sass.compileAsync(inputFile, { sourceMap: false, style: "compressed" });
@@ -33,4 +33,4 @@ async function buildTheme(themePath: string) {
}
}
buildTheme("theme.yml");
generateTheme("theme.yml");