fix forge theme: add forgejo-* to THEMES, use C+ copy for CSS
This commit is contained in:
parent
4bcc8bf0b1
commit
e6469403ee
1 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ in
|
|||
# dir before forgejo starts, so a container rebuild always
|
||||
# picks up CSS changes without touching persistent state.
|
||||
DEFAULT_THEME = "catppuccin-vibec0re";
|
||||
THEMES = "catppuccin-vibec0re,gitea-auto,gitea-light,gitea-dark";
|
||||
THEMES = "catppuccin-vibec0re,forgejo-auto,forgejo-light,forgejo-dark,gitea-auto,gitea-light,gitea-dark";
|
||||
};
|
||||
# F3 (federation) computes its data dir relative to the
|
||||
# forgejo binary, which lands in the read-only nix
|
||||
|
|
@ -172,7 +172,7 @@ in
|
|||
# rebuilds automatically reflect CSS edits without extra copies.
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/forgejo/custom/public/assets/css 0755 forgejo forgejo -"
|
||||
"L+ /var/lib/forgejo/custom/public/assets/css/theme-catppuccin-vibec0re.css - - - - ${../forge-theme/theme-catppuccin-vibec0re.css}"
|
||||
"C+ /var/lib/forgejo/custom/public/assets/css/theme-catppuccin-vibec0re.css 0644 forgejo forgejo - ${../forge-theme/theme-catppuccin-vibec0re.css}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue