支持nodejs

This commit is contained in:
lutinglt
2025-02-19 22:37:25 +08:00
parent 69e0c063de
commit 04896a3395
5 changed files with 57 additions and 2 deletions

View File

@@ -44,14 +44,26 @@ THEMES = gitea-dark, github
## 构建
需要 deno
### 克隆仓库
```bash
git clone https://github.com/lutinglt/gitea-github-theme.git
cd gitea-github-theme
```
### 使用 deno (推荐)
```bash
deno run build
```
### 使用 nodejs & npm
```bash
npm install
npm run build
```
查看用于 Gitea 的主题文件: `./dist/theme-github.css`
## 贡献