diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 13:48:00 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-10 13:48:00 -0400 |
commit | 482a6879df7b308eb40b82246d36da671e72836b (patch) | |
tree | 8b9d9fa8df0efc08cd7dcf758ea04a7bb6ae0ba0 | |
parent | 4fc2b638902f2a30e2d5906ee9d9487d82821793 (diff) |
cgit gruvbox theme
-rw-r--r-- | modules/git/cgit.nix | 2 | ||||
-rw-r--r-- | modules/git/cgit_theme.css | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index c16f424..c54f19a 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -16,6 +16,8 @@ in { enable-commit-graph = true; enable-follow-links = true; source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; + + head-include=/config/modules/git/cgit_theme.css }; nginx.virtualHost = "git.compromyse.xyz"; }; diff --git a/modules/git/cgit_theme.css b/modules/git/cgit_theme.css index 3d362ec..a161e89 100644 --- a/modules/git/cgit_theme.css +++ b/modules/git/cgit_theme.css @@ -1,3 +1,5 @@ +<style> + :root { --bg_h: #1d2021; --bg: #282828; @@ -169,3 +171,5 @@ div#cgit table.diffstat td.graph td.add { div#cgit table.diffstat td.graph td.rem { background: var(--red); } + +</style> |