2024-03-23 19:40:55 +00:00
|
|
|
# gitea-theme-github-dark
|
2024-03-23 19:31:22 +00:00
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
|
|
|
|
## This is a Fork of [sb-child](https://github.com/sb-child/gitea-theme-github-dark)
|
|
|
|
|
|
|
|
|
2024-03-23 19:31:22 +00:00
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
This Gitea theme mimics the appearance of GitHub's dark theme for a familiar and visually pleasing experience.
|
2024-03-23 19:31:22 +00:00
|
|
|
|
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
## Preview
|
2024-03-23 19:31:22 +00:00
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
![图片](https://github.com/sb-child/gitea-theme-github-dark/assets/55868015/2dd4033f-ebcd-4fdf-af2f-fcd16cce3740)
|
2024-03-23 19:31:22 +00:00
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
|
|
|
|
|
|
1. Copy the theme-ghdark.css file to /path/to/gitea/custom/public/assets/css/theme-ghdark.css.
|
|
|
|
|
|
|
|
2. Modify the Gitea configuration file located at /path/to/gitea/custom/conf/app.ini.
|
|
|
|
|
|
|
|
```ini
|
|
|
|
[ui]
|
|
|
|
THEMES = auto,gitea,arc-green,ghdark ; <- Add "ghdark" here
|
|
|
|
DEFAULT_THEME = ghdark ; <- Change the default theme to "ghdark"
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Restart Gitea.
|
|
|
|
|
|
|
|
4. Select the "ghdark" theme from your preferences.
|
|
|
|
|
|
|
|
5. Enjoy the GitHub-like experience!
|
|
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img src="https://assets.media-techport.de/f1/git/graphics/gray0-catonline.svg" alt="">
|
2024-03-23 19:31:22 +00:00
|
|
|
</p>
|
|
|
|
|
2024-03-23 19:40:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img src="https://assets.media-techport.de/f1/logos/small/license.png" alt="License" width="15" height="15"> <a href="./scriptos/gitea-theme-techport-dark/src/branch/main/LICENSE">License</a> | <img src="https://assets.media-techport.de/f1/logos/small/matrix2.svg" alt="Matrix" width="15" height="15"> <a href="https://matrix.to/#/#community:matrix.media-techport.de">Matrix</a> | <img src="https://assets.media-techport.de/f1/logos/small/mastodon2.svg" alt="Matrix" width="15" height="15"> <a href="https://social.media-techport.de/@donnerwolke">Mastodon</a>
|
|
|
|
</p>
|