SwayBien 团队的 Gogs 主题

PJ568 456eeb62fc 【新增,字体】添加 MapleMono-NF-CN 字体支持 пре 1 година
public 456eeb62fc 【新增,字体】添加 MapleMono-NF-CN 字体支持 пре 1 година
templates 456eeb62fc 【新增,字体】添加 MapleMono-NF-CN 字体支持 пре 1 година
.gitignore 1df9906a2b 【初始】初始化项目基础结构与文档 пре 1 година
CONTRIBUTING.md 1df9906a2b 【初始】初始化项目基础结构与文档 пре 1 година
LICENSE 1df9906a2b 【初始】初始化项目基础结构与文档 пре 1 година
README.en.md 456eeb62fc 【新增,字体】添加 MapleMono-NF-CN 字体支持 пре 1 година
README.md 456eeb62fc 【新增,字体】添加 MapleMono-NF-CN 字体支持 пре 1 година

README.en.md

SwayBien Team's Gogs Theme

English | 简体中文

SwayBien icon

Changes and Features

  • Replace icons and title with SwayBien icons and title;
  • Replace default user avatar with matchstick man avatar;
  • Mirror repository sync button;
  • MapleMono-NF-CN font;
  • Dark mode and toggle button supported by Darkmode.js;
  • Page preloading feature supported by instant.page.

Usage

  1. Download the theme files

    git clone --depth=1 https://github.com/swaybien/swb-gogs-theme.git || git clone --depth=1 https://git.pj568.eu.org/SwayBien/swb-gogs-theme.git
    
  2. Link theme files and restart the service

    cp -uvr swb-gogs-theme/public path/to/your/gogs/custom/public
    cp -uvr swb-gogs-theme/templates path/to/your/gogs/custom/templates
    # docker compose restart gogs
    
  3. Update the theme

    cd swb-gogs-theme
    git pull
    

Contributing

Contribution Guidelines

License

Creative Commons Attribution-ShareAlike 4.0 International License

Acknowledgments

Projects

Name License Address
darkmode.js MIT license Github、Website
instant.page MIT license Github、Website
maple-font OFL-1.1 license Github、Website