Document & simplify deployment as serverwide Gitea theme #1
Merged
Freeplay
merged 3 commits from norwin/gitea-modern-theme:main
into main
11 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'norwin/gitea-modern-theme:main'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The theme looks great so far, thank you!
I went ahead and
When making contributions, don't use the compiled version.
1. Download the [`theme-gitea-modern.css` file][theme-file] and add it to your custom folder in `$GITEA_CUSTOM/public/css/` ([learn how to find that directory][doc-dir]).
- The path has changed in Gitea 1.15, there the file needs to be placed in `$GITEA_CUSTOM/public/assets/css`
I didn't verify that this new path is correct so far, it may be wrong.
I would actually prefer to keep it as the Stylus preprocessor, as that is what I'm most familiar with. I saw that it also worked with Less and assuming other preprocessors that support CSS nesting as well (I didn't use much of other Stylus features), so I decided to give people that option.
I probably should have also mentioned that you would need to change the file extension to whatever preprocessor you use.
Ah ok, yeah we can name the source file differently than my suggestion. Any suggestion?
I might just keep it as Stylus, which the file extension for that is
.styl
The rest I think looks good, I'll merge
24c1624a5d
into main 11 months ago24c1624a5d
.