mirror of
https://github.com/saegl5/Gitea-Red.git
synced 2025-07-09 03:04:06 -04:00
rewrote readme
This commit is contained in:
parent
7ba2c24ff1
commit
b968d94665
53
README.md
53
README.md
@ -1,26 +1,41 @@
|
|||||||
# Gitea-Red-Silver
|
# Gitea-Red
|
||||||
|
|
||||||
Lite theme, yet not as much strain on the eyes as a bright or dark theme with red as main color.
|
Soft, lite red theme. Rebased from Gitea's default theme with some colors from Gitea-Red-Silver fork. Compatible with Dark Reader. If you miss the silver color, you can alternatively use Dark Reader to dim website colors.
|
||||||
|
|
||||||
## Directions
|
## Directions
|
||||||
|
|
||||||
01. Find out where where your custom directory is (Site Administration, Configuration, Custom File Root Path)
|
01. Locate your custom directory: Site Administration > Configuration > Custom File Root Path (e.g., /var/lib/gitea/custom)
|
||||||
02. Verify there is no public folder within the custom folder
|
02. Verify if a public directory exists within the custom directory
|
||||||
03. If there is a public folder already there, make sure that both the css and img directories are created
|
03. If the public directory exists, make sure it contains two directories: css and img
|
||||||
04. If they do not exist, create them
|
04. If the css and img directories do not exist, then create them
|
||||||
05. To add just the theme and not use the red Gitea logos, copy theme-redsilver.css into the \path\to\custom\public\css folder
|
05. To add just the theme (not the red Gitea logos), copy [theme-red.css](./public/css/theme-red.css) into the css directory
|
||||||
06. If you want to use the logos, make a backup of your existing img folder with `cp -a img img.bak`
|
06. To add the red Gitea logos, backup any existing img directory, and copy all the [logos](./public/img/) into your img directory
|
||||||
07. Copy all of the logos from public/img into your img folder
|
07. Locate your configuration file: Site Administration > Configuration > Configuration File Path (e.g., /etc/gitea/app.ini)
|
||||||
08. Tell Gitea there is a new theme by editing or adding the app.ini file [ui] section:
|
08. Add to the configuration file:
|
||||||
```
|
```ini
|
||||||
[ui]
|
[ui]
|
||||||
THEMES = gitea,arc-green,redsilver
|
THEMES = gitea,arc-green,red
|
||||||
DEFAULT_THEME = redsilver
|
DEFAULT_THEME = red
|
||||||
```
|
THEME_COLOR_META_TAG = none
|
||||||
|
```
|
||||||
|
09. Restart Gitea
|
||||||
|
|
||||||
## Photos
|
## Photos
|
||||||
|
|
||||||
<!--[](https://pix.dou.bet/image/gKGN)-->
|
[](./screenshots/home_lite.png)
|
||||||
[](https://pix.dou.bet/image/gLER)
|
[](./screenshots/repo_lite.png) \
|
||||||
[](https://pix.dou.bet/image/g2w7)
|
(redacted)
|
||||||
[](https://pix.dou.bet/image/g4vn)
|
|
||||||
|
Using Dark Reader web browser extension:
|
||||||
|
[](./screenshots/home_dark.png) \
|
||||||
|
Using Dark Reader web browser extension:
|
||||||
|
[](./screenshots/repo_dark.png) \
|
||||||
|
(redacted)
|
||||||
|
|
||||||
|
## Known Issues
|
||||||
|
|
||||||
|
- [x] ~~When you overscroll, still see green color~~ (added `THEME_COLOR_META_TAG` to app.ini)
|
||||||
|
- [x] ~~With Dark Reader, not the entire page is the same color~~ (replaced `body{}` with `.full.height{}` in theme-red.css)
|
||||||
|
- [x] Directories sometimes turn blue (~~testing a fix~~ because of Dark Reader and you cleared your browser history, just refresh browser)
|
||||||
|
|
||||||
|
Theme coded with ♥ in VSCodium
|
Loading…
x
Reference in New Issue
Block a user