nix colors apathy kinda working

This commit is contained in:
Adrian Gunnar Lauterer 2024-09-11 15:34:19 +02:00
parent 7ae6520740
commit 2d193c1f98
2 changed files with 48 additions and 35 deletions

View File

@ -3,49 +3,57 @@
nix-colors.homeManagerModules.default
];
# explanation https://github.com/chriskempson/base16/blob/main/styling.md
colorScheme = {
slug = "neon-pulse";
name = "Neon Pulse";
author = "Adrian G L";
slug = "cyberpunk-apathy";
name = "Cyberpunk Apathy";
author = "Adrian G L (based on Apathy by Jannik Siebert)";
palette = {
base00 = "#1A1B2E"; # dark grey background
base01 = "#2A2B3E"; # lighter background
base02 = "#3A3B4E"; # selection background
base03 = "#4A4B5E"; # comments, invisibles
base04 = "#5A5B6E"; # dark foreground
base05 = "#E4E3FE"; # default foreground (contrast)
base06 = "#7A7B8E"; # light foreground
base07 = "#8A8B9E"; # light background
base08 = "#FF2A6D"; # variables, red
base09 = "#9A9BAE"; # integers, constants
base0A = "#05D9E8"; # classes, turquoise
base0B = "#7DF9FF"; # strings, mint green
base0C = "#13c299"; # support, cyan
base0D = "#24acd4"; # functions, methods, blue
base0E = "#A742EA"; # keywords, purple
base0F = "#6B1FB1"; # deprecations, dark purple
base00 = "031A16"; # Background
base01 = "0B342D"; # Lighter Background (Used for status bars, line number and folding marks)
base02 = "184E45"; # Selection Background
base03 = "2B685E"; # Comments, Invisibles, Line Highlighting
base04 = "5F9C92"; # Dark Foreground (Used for status bars)
base05 = "81B5AC"; # Default Foreground , Caret, Delimiters, Operators
base06 = "A7CEC8"; # Light Foreground (Not often used)
base07 = "D2E7E4"; # Light Background (Not often used)
base08 = "3E9688"; # Variables , XML Tags, Markup Link Text, Markup Lists, Diff Deleted(Cyan)
base09 = "3E7996"; # Integers , Boolean, Constants, XML Attributes, Markup Link Url(Blue)
base0A = "4A3E96"; # Classes Markup Bold, Search Text Background (Purple, slightly adjusted for cyberpunk feel)
base0B = "883E96"; # Strings Inherited Class, Markup Code, Diff Inserted (Magenta)
base0C = "963E4C"; # Support Regular Expressions, Escape Characters, Markup Quotes (Red)
base0D = "96883E"; # Functions Methods, Attribute IDs, Headings (Yellow)
base0E = "4C963E"; # Keywords Storage, Selector, Markup Italic, Diff Changed (Green)
base0F = "3E965B"; # Deprecate Opening/Closing Embedded Language Tags, e.g. <?php ?>d (Teal)
};
};
programs.foot.settings.colors = {
alpha = "0.9";
foreground = "${config.colorScheme.palette.base05}"; # Light foreground for high contrast
background = "${config.colorScheme.palette.base00}"; # Dark background
alpha = "0.95"; # Slightly more transparent for a cyberpunk feel
foreground = "${config.colorScheme.palette.base05}";
background = "${config.colorScheme.palette.base00}";
regular0 = "${config.colorScheme.palette.base00}"; # Black
regular1 = "${config.colorScheme.palette.base08}"; # Red
regular2 = "${config.colorScheme.palette.base0A}"; # Yellow (Turquoise)
regular3 = "${config.colorScheme.palette.base0B}"; # Green
regular4 = "${config.colorScheme.palette.base0D}"; # Blue (from foot default)
regular5 = "${config.colorScheme.palette.base0E}"; # Magenta (Purple)
regular6 = "${config.colorScheme.palette.base0C}"; # Cyan (from foot default)
regular2 = "${config.colorScheme.palette.base0B}"; # Green
regular3 = "${config.colorScheme.palette.base0A}"; # Yellow
regular4 = "${config.colorScheme.palette.base09}"; # Blue
regular5 = "${config.colorScheme.palette.base0E}"; # Magenta
regular6 = "${config.colorScheme.palette.base0C}"; # Cyan
regular7 = "${config.colorScheme.palette.base05}"; # White
bright0 = "${config.colorScheme.palette.base03}"; # Bright Black
bright1 = "${config.colorScheme.palette.base08}"; # Bright Red
bright2 = "${config.colorScheme.palette.base0B}"; # Bright Green
bright3 = "e9e836"; # Bright Yellow (from foot default)
bright4 = "5dc5f8"; # Bright Blue (from foot default)
bright5 = "feabf2"; # Bright Magenta (from foot default)
bright6 = "${config.colorScheme.palette.base0C}"; # Bright Cyan
bright7 = "${config.colorScheme.palette.base06}"; # Bright White
bright1 = "${config.colorScheme.palette.base08}"; # Bright Red
bright2 = "${config.colorScheme.palette.base0B}"; # Bright Green
bright3 = "${config.colorScheme.palette.base0A}"; # Bright Yellow
bright4 = "${config.colorScheme.palette.base09}"; # Bright Blue
bright5 = "${config.colorScheme.palette.base0E}"; # Bright Magenta
bright6 = "${config.colorScheme.palette.base0C}"; # Bright Cyan
bright7 = "${config.colorScheme.palette.base07}"; # Bright White
# 16 = "${config.colorScheme.palette.base09}";
# 17 = "${config.colorScheme.palette.base0F}";
# 18 = "${config.colorScheme.palette.base01}";
# 19 = "${config.colorScheme.palette.base02}";
# 20 = "${config.colorScheme.palette.base04}";
# 21 = "${config.colorScheme.palette.base06}";
};
}

View File

@ -70,7 +70,12 @@ imports =
alias lls='ls'
'';
#TODO: ssh hosts.
#some insecure packages
nixpkgs.config.permittedInsecurePackages = [
"python3.11-youtube-dl-2021.12.17"
];
#nix stuff
nix.settings.experimental-features = [ "nix-command" "flakes" ];