Theme git.cyberia.club to match https://cyberia.club's theme #9

Open
opened 2021-12-14 21:26:55 +00:00 by j3s · 3 comments
Owner
No description provided.
Owner

We should look at the default dark theme and just modify it a bit.

We should look at the default dark theme and just modify it a bit.
Owner

this is how I did it on my server

root@odroidxu4:.../gitea/data/gitea# tree
.
├── conf
│   └── app.ini
├── indexers
│   ....blahblahblah.....
├── log
├── public
│   └── css
│       └── theme-sequentialread.css    <--- this is how you add custom themes
├── queues
│   ....blahblahblah.....
├── templates
│   ├── base
│   │   ├── head_navbar.tmpl  <--- this is how you can modify the HTML templates
│   │   └── head.tmpl              for the pages that gitea displays.
│   ├── custom                     simply grab the existing ones from
│   │   ├── extra_links.tmpl       https://github.com/go-gitea/gitea/tree/main/templates
│   │   └── footer.tmpl            and then save the modified versions here.
│   └── repo
│       ├── home.tmpl
│       └── search.tmpl

Here are some sections of my gitea config file .../gitea/data/gitea/conf/app.ini



[mailer]
ENABLED        = true
FROM           = forest@sequentialread.com
MAILER_TYPE    = smtp
HOST           = smtp.nullhex.com:465
USER           = forest@sequentialread.com
IS_TLS_ENABLED = true
PASSWD         = redacted


[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
REPO_INDEXER_PATH = /data/gitea/indexers/repos.bleve
REPO_INDEXER_ENABLED = true

....

[service]
DISABLE_REGISTRATION = false
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
REQUIRE_SIGNIN_VIEW  = false

[ui]
THEMES = gitea,arc-green,sequentialread
DEFAULT_THEME = sequentialread


Here is the arc-green CSS that I think we should base our cyberia theme on: https://github.com/go-gitea/gitea/blob/main/web_src/less/themes/theme-arc-green.less

this is how I did it on my server ``` root@odroidxu4:.../gitea/data/gitea# tree . ├── conf │   └── app.ini ├── indexers │   ....blahblahblah..... ├── log ├── public │   └── css │   └── theme-sequentialread.css <--- this is how you add custom themes ├── queues │   ....blahblahblah..... ├── templates │   ├── base │   │   ├── head_navbar.tmpl <--- this is how you can modify the HTML templates │   │   └── head.tmpl for the pages that gitea displays. │   ├── custom simply grab the existing ones from │   │   ├── extra_links.tmpl https://github.com/go-gitea/gitea/tree/main/templates │   │   └── footer.tmpl and then save the modified versions here. │   └── repo │   ├── home.tmpl │   └── search.tmpl ``` Here are some sections of my gitea config file `.../gitea/data/gitea/conf/app.ini` ``` [mailer] ENABLED = true FROM = forest@sequentialread.com MAILER_TYPE = smtp HOST = smtp.nullhex.com:465 USER = forest@sequentialread.com IS_TLS_ENABLED = true PASSWD = redacted [indexer] ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve REPO_INDEXER_PATH = /data/gitea/indexers/repos.bleve REPO_INDEXER_ENABLED = true .... [service] DISABLE_REGISTRATION = false REGISTER_EMAIL_CONFIRM = true ENABLE_NOTIFY_MAIL = true REQUIRE_SIGNIN_VIEW = false [ui] THEMES = gitea,arc-green,sequentialread DEFAULT_THEME = sequentialread ``` Here is the arc-green CSS that I think we should base our cyberia theme on: https://github.com/go-gitea/gitea/blob/main/web_src/less/themes/theme-arc-green.less
Owner

BTW if you are curious this is the source code of my theme-sequentialread.css

https://git.sequentialread.com/forest/gitea/src/branch/docker-armv7/web_src/less/themes/theme-sequentialread.less

BTW if you are curious this is the source code of my theme-sequentialread.css https://git.sequentialread.com/forest/gitea/src/branch/docker-armv7/web_src/less/themes/theme-sequentialread.less
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cyberia/ops-handbook#9
No description provided.