From a34f88aa05c447d12b54bbf43819873d6a658c7b Mon Sep 17 00:00:00 2001 From: Adrian G L Date: Wed, 11 Sep 2024 18:34:20 +0200 Subject: [PATCH] colors base --- home/colors.nix | 57 ++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/home/colors.nix b/home/colors.nix index b22f7c8..7c3caea 100644 --- a/home/colors.nix +++ b/home/colors.nix @@ -2,58 +2,51 @@ imports = [ nix-colors.homeManagerModules.default ]; - - - # explanation https://github.com/chriskempson/base16/blob/main/styling.md colorScheme = { - slug = "cyberpunk-apathy"; - name = "Cyberpunk Apathy"; + slug = "cyberpunk-apathy-adjusted"; + name = "Cyberpunk Apathy Adjusted"; author = "Adrian G L (based on Apathy by Jannik Siebert)"; palette = { - 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. d (Teal) + base00 = "031A16"; # Background (kept original) + base01 = "2A6D62"; # Lighter Background (brighter) + base02 = "3D9F87"; # Selection Background (brighter) + base03 = "68D6A0"; # Comments, Invisibles, Line Highlighting (brighter) + base04 = "99E3D6"; # Dark Foreground (brighter) + base05 = "D1F5E3"; # Default Foreground, Caret, Delimiters, Operators (brighter) + base06 = "E0FCF8"; # Light Foreground (brighter) + base07 = "FFFFFF"; # Light Background (brighter) + base08 = "D066C2"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted (brighter teal) + base09 = "6FBCDE"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url (brighter blue) + base0A = "7E6BCC"; # Classes, Markup Bold, Search Text Background (brighter purple) + base0B = "6ACB9A"; # Strings, Inherited Class, Markup Code, Diff Inserted (brighter magenta) + base0C = "D26D6E"; # Support, Regular Expressions, Escape Characters, Markup Quotes (slightly adjusted red) + base0D = "E0C964"; # Functions, Methods, Attribute IDs, Headings (brighter yellow) + base0E = "8FCB5F"; # Keywords, Storage, Selector, Markup Italic, Diff Changed (brighter green) + base0F = "6FC8B8"; # Deprecated, Opening/Closing Embedded Language Tags (brighter cyan) }; }; - programs.foot.settings.colors = { 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 + regular1 = "${config.colorScheme.palette.base08}"; # Red (now brighter teal) 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 + regular6 = "${config.colorScheme.palette.base0C}"; # Cyan (now slightly adjusted red) regular7 = "${config.colorScheme.palette.base05}"; # White bright0 = "${config.colorScheme.palette.base03}"; # Bright Black - bright1 = "${config.colorScheme.palette.base08}"; # Bright Red + bright1 = "${config.colorScheme.palette.base08}"; # Bright Red (now brighter teal) 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 + bright6 = "${config.colorScheme.palette.base0C}"; # Bright Cyan (now adjusted red) 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}"; + selection-foreground = "${config.colorScheme.palette.base00}"; # Dark background color for selected text + selection-background = "${config.colorScheme.palette.base0A}"; # Selection color }; } +