From d154ffd73055629e5ab0c2f321dad4e0003ffa03 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 23 Jan 2023 22:12:37 +0400 Subject: [PATCH] Update color scheme and helix theme --- modules/themes.nix | 6 +++--- profiles/applications/helix.nix | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/modules/themes.nix b/modules/themes.nix index f601a33..37b3c32 100755 --- a/modules/themes.nix +++ b/modules/themes.nix @@ -51,9 +51,9 @@ in { themes.colors = { # H = 0, S = 0% base00 = "000000"; # L = 0% - base01 = "333333"; # L = 20% - base02 = "666666"; # L = 40% - base03 = "999999"; # L = 60% + base01 = "1a1a1a"; # L = 10% + base02 = "333333"; # L = 20% + base03 = "808080"; # L = 50% base04 = "cccccc"; # L = 80% base05 = "ffffff"; # L = 100% base06 = "e6e6e6"; # L = 90% diff --git a/profiles/applications/helix.nix b/profiles/applications/helix.nix index 3ce3605..87ee8fe 100644 --- a/profiles/applications/helix.nix +++ b/profiles/applications/helix.nix @@ -39,6 +39,9 @@ [[language]] name = "nix" formatter = { command = "nixfmt", args = [] } + [[language]] + name = "markdown" + language-server = { command = "vscode-markdown-language-server", args = ["--stdio"] } ''; programs.helix = { enable = true; @@ -152,6 +155,17 @@ fg = base0A; modifiers = [ "bold" ]; }; + "markup.bold" = { modifiers = [ "bold" ]; }; + "markup.italic" = { modifiers = [ "italic" ]; }; + "markup.link" = { + underline.style = "line"; + fg = base0D; + }; + "markup.quote" = { + bg = base01; + modifiers = [ "italic" ]; + }; + "markup.raw" = { bg = base01; }; "label" = base0B; "namespace" = base0F; "diff.plus" = base0B;