Skip to content
Gridea 主题开发样板
Branch: master
Clone or download
Latest commit b4bb19e Apr 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets first commit Apr 19, 2019
images first commit Apr 19, 2019
templates first commit Apr 19, 2019
.gitignore first commit Apr 19, 2019
README.md docs: update readme Apr 24, 2019
app.js first commit Apr 19, 2019
config.json refactor: add config.json & override js Apr 19, 2019
favicon.ico first commit Apr 19, 2019
gulpfile.js first commit Apr 19, 2019
package.json first commit Apr 19, 2019
style-override.js refactor: add config.json & override js Apr 19, 2019
yarn.lock first commit Apr 19, 2019

README.md

Gridea 主题开发样板

项目各文件夹内已写 README,开发主题前敬请阅读!

开发

$ npm install
$ npm run dev

/assets/templates 必须,Gridea 使用主题时必须文件夹
config.json 可选,主题信息和自定义配置字段信息
style-override.js 可选,根据自定义配置信息生成 css 方法文件
/images 文件夹仅为预览渲染 avatar 所用

Mock 数据来源:https://github.com/getgridea/mock-json

Gridea 主题开发支持 less,若不熟悉 less 语法,尽可使用 css 语法编写,只不过文件名需要保持 main.less

网页链接仅为预览效果所用

主题开发文档:https://gridea.dev/docs/theme.html

欢迎开发 Gridea 主题!

😘 Enjoy~

You can’t perform that action at this time.