nix-dotfiles/home/gunalx/colors.nix

77 lines
2.2 KiB
Nix
Raw Normal View History

2024-09-13 00:32:00 +02:00
{ pkgs, config, nix-colors, ... }:
let
nix-colors-lib = nix-colors.lib.contrib { inherit pkgs; };
background = "010C09";
foreground = "FFFFFF";
offWhite = "F0FFF8";
teal = "60C89A";
red = "E64553";
blue = "58B5E0";
green = "79E05B";
purple = "6B5BDC";
magenta = "80D1A0";
cyan = "5FE2C5";
yellow = "F5D24D";
orange = "FF8800";
pink = "FF4EC9";
grey = "888B8E";
lightGrey = "F3FCF7";
darkTeal = "154E44";
lighterTeal = "2C7A6A";
lightTeal = "B0E8DA";
in{
2024-09-11 14:57:36 +02:00
imports = [
nix-colors.homeManagerModules.default
];
2024-09-13 00:32:00 +02:00
# colorScheme = nix-colors-lib.colorSchemeFromPicture {
# path = ./assets/evergarden-telescope.jpg;
# variant = "dark";
# };
2024-09-11 14:57:36 +02:00
colorScheme = {
2024-09-13 00:32:00 +02:00
slug = "cyberpunk-apathy";
name = "Cyberpunk Apathy";
2024-09-11 15:34:19 +02:00
author = "Adrian G L (based on Apathy by Jannik Siebert)";
2024-09-11 14:57:36 +02:00
palette = {
2024-09-13 00:32:00 +02:00
# Base16 color values with context-specific usage comments
base00 = background; # Default background
base01 = darkTeal; # Lighter background (used for status bars)
base02 = lighterTeal; # Selection background
base03 = teal; # Comments, secondary content, line highlighting
base04 = lightTeal; # Darker foreground (used for status bars)
base05 = foreground; # Default text and foreground
base06 = lightGrey; # Lighter foreground (used for inactive text)
base07 = offWhite; # Lightest background (used for highlights)
base08 = teal; # Variables, constants, markup link text
base09 = blue; # Integers, booleans, constants, and XML attributes
base0A = magenta; # Classes, headings, keywords
base0B = cyan; # Strings, literals, escape sequences
base0C = green; # Support and error colors
base0D = cyan; # Functions, methods, function names
base0E = red; # Keywords, storage, selectors
base0F = yellow; # Deprecated or obsolete code
2024-09-11 14:57:36 +02:00
};
};
2024-09-13 00:32:00 +02:00
2024-09-23 12:54:23 +02:00
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome.gnome-themes-extra;
};
};
qt = {
enable = true;
platformTheme.name = "adwaita";
style.name = "adwaita-dark";
};
2024-09-11 14:57:36 +02:00
}
2024-09-11 18:34:20 +02:00