commit b6a0d11d3231fec0fd8a4b3f6645eab99032857c
parent 4cd4315d4bc8f55ce5a18957521a434ebfd4cf60
Author: vin <vin@vineetk.net>
Date: Wed, 8 Jan 2025 21:02:14 -0500
start including theme colors in separate file. changed alacritty to use that
I'm LEARNDING Nix!
Diffstat:
| A | colors.nix | | | 30 | ++++++++++++++++++++++++++++++ |
| M | home.nix | | | 36 | ++++++++---------------------------- |
2 files changed, 38 insertions(+), 28 deletions(-)
diff --git a/colors.nix b/colors.nix
@@ -0,0 +1,30 @@
+{
+ everblush = {
+ primary = {
+ background = "#141b1e";
+ foreground = "#dadada";
+ };
+
+ normal = {
+ black = "#232a2d";
+ red = "#e57474";
+ green = "#8ccf7e";
+ yellow = "#e5c76b";
+ blue = "#67b0e8";
+ magenta = "#c47fd5";
+ cyan = "#6cbfbf";
+ white = "#b3b9b8";
+ };
+
+ bright = {
+ black = "#2d3437";
+ red = "#ef7e7e";
+ green = "#96d988";
+ yellow = "#f4d67a";
+ blue = "#71baf2";
+ magenta = "#ce89df";
+ cyan = "#67cbe7";
+ white = "#bdc3c2";
+ };
+ };
+}
diff --git a/home.nix b/home.nix
@@ -1,6 +1,8 @@
{ config, lib, pkgs, inputs, ... }:
-{
+let
+ colors = import ./colors.nix;
+in {
home = {
username = "vin";
homeDirectory = "/home/vin";
@@ -264,37 +266,15 @@
};
colors = {
- primary = {
- background = "#141b1e";
- foreground = "#dadada";
- };
+ primary = colors.everblush.primary;
cursor = {
- text = "#141b1e";
- cursor = "#dadada";
- };
-
- normal = {
- black = "#232a2d";
- red = "#e57474";
- green = "#8ccf7e";
- yellow = "#e5c76b";
- blue = "#67b0e8";
- magenta = "#c47fd5";
- cyan = "#6cbfbf";
- white = "#b3b9b8";
+ text = colors.everblush.primary.background;
+ cursor = colors.everblush.primary.foreground;
};
- bright = {
- black = "#2d3437";
- red = "#ef7e7e";
- green = "#96d988";
- yellow = "#f4d67a";
- blue = "#71baf2";
- magenta = "#ce89df";
- cyan = "#67cbe7";
- white = "#bdc3c2";
- };
+ normal = colors.everblush.normal;
+ bright = colors.everblush.bright;
};
};
};