diff options
author | Silas Schöffel <sils@sils.li> | 2024-10-05 20:03:44 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-10-05 20:03:44 +0200 |
commit | d3ddd47deefcf25576185ea0be40c39c217719ba (patch) | |
tree | 73e96280a353e2a217f9dbc2dba7444903ebcbc7 | |
parent | various changes, needs rebase (diff) | |
download | nix-config-d3ddd47deefcf25576185ea0be40c39c217719ba.tar.gz nix-config-d3ddd47deefcf25576185ea0be40c39c217719ba.zip |
theming: refactor and use local "tokyo-night-dark.yaml"
-rw-r--r-- | modules/nixos/sils/default.nix | 2 | ||||
-rw-r--r-- | modules/nixos/sils/theming/default.nix (renamed from modules/nixos/sils/theming.nix) | 3 | ||||
-rw-r--r-- | modules/nixos/sils/theming/tokyo-night-dark.yaml | 18 |
3 files changed, 20 insertions, 3 deletions
diff --git a/modules/nixos/sils/default.nix b/modules/nixos/sils/default.nix index c169bfb..7655e29 100644 --- a/modules/nixos/sils/default.nix +++ b/modules/nixos/sils/default.nix @@ -16,6 +16,6 @@ ./roles.nix ./sudo.nix ./sway.nix - ./theming.nix + ./theming ]; } diff --git a/modules/nixos/sils/theming.nix b/modules/nixos/sils/theming/default.nix index 5e7d197..054799d 100644 --- a/modules/nixos/sils/theming.nix +++ b/modules/nixos/sils/theming/default.nix @@ -1,7 +1,6 @@ { config, lib, - base16-tokyo-night-scheme, ... }: let cfg = config.sils.theming; @@ -9,7 +8,7 @@ in { options.sils.theming.enable = lib.mkEnableOption "theming"; config = lib.mkIf cfg.enable { stylix = { - base16Scheme = "${base16-tokyo-night-scheme}/tokyo-night-dark.yaml"; + base16Scheme = ./tokyo-night-dark.yaml; image = ../../../files/wallpaper.jpg; polarity = "dark"; }; diff --git a/modules/nixos/sils/theming/tokyo-night-dark.yaml b/modules/nixos/sils/theming/tokyo-night-dark.yaml new file mode 100644 index 0000000..ec29944 --- /dev/null +++ b/modules/nixos/sils/theming/tokyo-night-dark.yaml @@ -0,0 +1,18 @@ +scheme: "Tokyo Night Dark" +author: "Michaël Ball" +base00: "1A1B26" +base01: "16161E" +base02: "2F3549" +base03: "444B6A" +base04: "787C99" +base05: "A9B1D6" +base06: "CBCCD1" +base07: "D5D6DB" +base08: "C0CAF5" +base09: "A9B1D6" +base0A: "0DB9D7" +base0B: "9ECE6A" +base0C: "B4F9F8" +base0D: "2AC3DE" +base0E: "BB9AF7" +base0F: "F7768E" |