Storing local base16 themes for tweaks (starting with dracula)

This commit is contained in:
Emmet 2023-05-27 11:59:14 -05:00
parent 13251d0c13
commit 1e729b044a
2 changed files with 20 additions and 1 deletions

18
themes/dracula.yaml Normal file
View file

@ -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"

View file

@ -3,6 +3,7 @@
let let
myFont = "Inconsolata"; myFont = "Inconsolata";
myFontPkg = pkgs.inconsolata; myFontPkg = pkgs.inconsolata;
myThemePath = "../../../themes/"+myTheme+".yaml";
in in
{ {
stylix.autoEnable = false; stylix.autoEnable = false;
@ -11,7 +12,7 @@ in
url = myBackgroundUrl; url = myBackgroundUrl;
sha256 = myBackgroundSha256; sha256 = myBackgroundSha256;
}; };
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/"+myTheme+".yaml"; stylix.base16Scheme = ./. + myThemePath;
stylix.fonts = { stylix.fonts = {
monospace = { monospace = {