diff --git a/home.nix b/home.nix index d9f0b5b..e41d28e 100644 --- a/home.nix +++ b/home.nix @@ -2,7 +2,8 @@ let callPackage = pkgs.lib.callPackageWith pkgs; - nord = import ./configs/themes/nord.nix; + nord = import ./themes/nord.nix; + onedark = import ./themes/onedark.nix; in { fonts.fontconfig = { @@ -15,7 +16,6 @@ in ( final: prev: { extra = prev.extra // { - colorTheme = import ./configs/themes/nord.nix; colorPalette = with pkgs.extra; palette.palette { black = color.hexToRgba nord.n0; red = color.hexToRgba nord.n11; diff --git a/configs/themes/nord.nix b/themes/nord.nix similarity index 87% rename from configs/themes/nord.nix rename to themes/nord.nix index d9f0ef4..b7292fd 100644 --- a/configs/themes/nord.nix +++ b/themes/nord.nix @@ -1,4 +1,4 @@ -# Nord palette +# Nord palette (https://www.nordtheme.com) { n0 = "#2e3440"; n1 = "#3b4252"; diff --git a/themes/onedark.nix b/themes/onedark.nix new file mode 100644 index 0000000..046dc87 --- /dev/null +++ b/themes/onedark.nix @@ -0,0 +1,15 @@ +# Onedark palette (https://github.com/joshdick/onedark.vim) +{ + black = "#282c34"; + white = "#abb2bf"; + lightRed = "#e06c75"; + darkRed = "#be5046"; + green = "#98c379"; + lightYellow = "#e5c07b"; + darkYellow = "#d19a66"; + blue = "#61afef"; + magenta = "#c678dd"; + cyan = "#56b6c2"; + gutterGrey = "#4b5263"; + commentGrey = "#5c6370"; +}