This commit is contained in:
Riley Apeldoorn 2022-05-23 10:40:50 +02:00
parent 8415b856a9
commit 60cd61444e
1 changed files with 100 additions and 100 deletions

View File

@ -2,120 +2,120 @@
let inherit (builtins) mapAttrs map; in rec { let inherit (builtins) mapAttrs map; in rec {
# A simple dark theme with vibrant colors. # A simple dark theme with vibrant colors.
"dark" = rec { "dark" = rec {
# Determines the background for applications such as the terminal, # Determines the background for applications such as the terminal,
# status bars or WM elements. # status bars or WM elements.
background = { background = {
primary = "1a1a1a"; primary = "1a1a1a";
normal = "212121"; normal = "212121";
slight = "535353"; slight = "535353";
}; };
# Determines the foreground color of text. # Determines the foreground color of text.
foreground = { foreground = {
primary = "fafafa"; primary = "fafafa";
normal = "efefef"; normal = "efefef";
slight = "bdbdbd"; slight = "bdbdbd";
}; };
grayscales = [ grayscales = [
"121212" "121212"
background.primary background.primary
background.normal background.normal
"2a2a2a" "2a2a2a"
"323232" "323232"
"424242" "424242"
"4a4a4a" "4a4a4a"
background.slight background.slight
"646464" "646464"
"6a6a6a" "6a6a6a"
"757575" "757575"
"7a7a7a" "7a7a7a"
"868686" "868686"
"8a8a8a" "8a8a8a"
"979797" "979797"
"9a9a9a" "9a9a9a"
"a8a8a8" "a8a8a8"
"aaaaaa" "aaaaaa"
"b9b9b9" "b9b9b9"
foreground.slight foreground.slight
"cacaca" "cacaca"
"dadada" "dadada"
"eaeaea" "eaeaea"
foreground.normal foreground.normal
foreground.primary foreground.primary
]; ];
red = { red = {
normal = "ff6161"; normal = "ff6161";
bright = "ff3b3b"; bright = "ff3b3b";
pastel = "ff7588"; pastel = "ff7588";
}; };
green = { green = {
normal = "8aff80"; normal = "8aff80";
bright = "29f26c"; bright = "29f26c";
pastel = ""; pastel = "";
}; };
blue = { blue = {
normal = "30c7ff"; normal = "30c7ff";
bright = "00e1ff"; bright = "00e1ff";
pastel = ""; pastel = "";
}; };
yellow = { yellow = {
normal = "fcfc51"; normal = "fcfc51";
bright = "fcfc51"; bright = "fcfc51";
pastel = ""; pastel = "";
}; };
purple = { purple = {
normal = "b58aff"; normal = "b58aff";
bright = "c97ffa"; bright = "c97ffa";
pastel = "d9b5ff"; pastel = "d9b5ff";
}; };
cyan = { cyan = {
normal = "29f8ff"; normal = "29f8ff";
bright = "26e3fc"; bright = "26e3fc";
pastel = "63e8ff"; pastel = "63e8ff";
}; };
pink = { pink = {
normal = "ee8fff"; normal = "ee8fff";
bright = "ff63e5"; bright = "ff63e5";
pastel = "ff96e3"; pastel = "ff96e3";
}; };
orange = { orange = {
normal = "ff8c26"; normal = "ff8c26";
bright = "fca151"; bright = "fca151";
pastel = ""; pastel = "";
}; };
misc = { misc = {
blueGrey = "9ccdd9"; blueGrey = "9ccdd9";
teal = "00ccad"; teal = "00ccad";
lime = "d5ff63"; lime = "d5ff63";
}; };
hex = mapAttrs (name: value: hex = mapAttrs (name: value:
if name == "grayscales" if name == "grayscales"
then map (v: "#" + v) value then map (v: "#" + v) value
else if name == "hex" else if name == "hex"
then value then value
else mapAttrs (n: v: "#" + v) value else mapAttrs (n: v: "#" + v) value
) (dark); ) (dark);
}; };
} }