mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-21 22:23:56 +00:00
代码布局调整
This commit is contained in:
6
build.ts
6
build.ts
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user