From 1e729b044aaaba5ffdc643bdeace7bf7a290a541 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 27 May 2023 11:59:14 -0500 Subject: [PATCH] Storing local base16 themes for tweaks (starting with dracula) --- themes/dracula.yaml | 18 ++++++++++++++++++ user/style/stylix.nix | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 themes/dracula.yaml diff --git a/themes/dracula.yaml b/themes/dracula.yaml new file mode 100644 index 00000000..97de2e86 --- /dev/null +++ b/themes/dracula.yaml @@ -0,0 +1,18 @@ +scheme: "Dracula" +author: "Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)" +base00: "282936" #background +base01: "333547" # I modified this slightly +base02: "4d4f68" +base03: "626483" +base04: "62d6e8" +base05: "e9e9f4" #foreground +base06: "f1f2f8" +base07: "f7f7fb" +base08: "ea51b2" +base09: "b45bcf" +base0A: "00f769" +base0B: "ebff87" +base0C: "a1efe4" +base0D: "62d6e8" +base0E: "b45bcf" +base0F: "00f769" diff --git a/user/style/stylix.nix b/user/style/stylix.nix index 1c9d57de..f5eb85e4 100644 --- a/user/style/stylix.nix +++ b/user/style/stylix.nix @@ -3,6 +3,7 @@ let myFont = "Inconsolata"; myFontPkg = pkgs.inconsolata; + myThemePath = "../../../themes/"+myTheme+".yaml"; in { stylix.autoEnable = false; @@ -11,7 +12,7 @@ in url = myBackgroundUrl; sha256 = myBackgroundSha256; }; - stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/"+myTheme+".yaml"; + stylix.base16Scheme = ./. + myThemePath; stylix.fonts = { monospace = {