From f48490fe52c6f0fc5d989d7da5e1cba95ef53ac8 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Fri, 8 Nov 2024 10:18:58 -0300 Subject: [PATCH] feat: capytal as default theme --- capytal/forgejo/customization.nix | 2 +- capytal/forgejo/default.nix | 2 +- capytal/forgejo/themes/theme-capytal-dark.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capytal/forgejo/customization.nix b/capytal/forgejo/customization.nix index 2f125d7..d160595 100644 --- a/capytal/forgejo/customization.nix +++ b/capytal/forgejo/customization.nix @@ -30,7 +30,7 @@ in { templates = ./templates; theme = { "frappurccino" = frappurccino-theme; - "capytal-dark-b" = ./themes/theme-capytal-dark.css; + "capytal-dark" = ./themes/theme-capytal-dark.css; "bthree-dark" = ./themes/theme-bthree-dark.css; }; options.label."Default" = with config.scheme.withHashtag; { diff --git a/capytal/forgejo/default.nix b/capytal/forgejo/default.nix index b0c2e19..2dbe053 100644 --- a/capytal/forgejo/default.nix +++ b/capytal/forgejo/default.nix @@ -62,7 +62,7 @@ in { DISABLE_REGISTRATION = true; }; ui = { - DEFAULT_THEME = "frappurccino"; + DEFAULT_THEME = "capytal-dark"; }; }; }; diff --git a/capytal/forgejo/themes/theme-capytal-dark.css b/capytal/forgejo/themes/theme-capytal-dark.css index f22f1c2..e03a3d5 100644 --- a/capytal/forgejo/themes/theme-capytal-dark.css +++ b/capytal/forgejo/themes/theme-capytal-dark.css @@ -1,5 +1,5 @@ /* capytal dark theme */ -:root { +:root * { --is-dark-theme: true; /* Colors. */