Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
List a theme after cgit.css
Any css or js line replaces the default rather than adding to it, so a
theme set with a single css line, as the README implied, left every
page unstyled.
Diffstat (limited to 'README.txt')
| -rw-r--r-- | README.txt | 8 |
1 file changed, 8 insertions, 0 deletions
@@ -175,6 +175,14 @@ A theme that only wants a colour change is a few lines. background: var(--surface); } +Keep a theme in a file of its own, since make install overwrites cgit.css. The +first css line replaces the default rather than adding to it, as a js line does +cgit.js, so list cgit.css first. The server configs in custom/servers/ serve +only the shipped files off disk, so add the theme to them too. + + css=/cgit.css + css=/theme.css + tests/t0005-markup.sh checks that every hook named here is still emitted. |
