From 62c78c061c165a874fde95cd8d99da32499f5c18 Mon Sep 17 00:00:00 2001 From: Rohan Jain <343499+crodjer@users.noreply.github.com> Date: Sun, 16 Jan 2022 07:02:29 +0530 Subject: [PATCH] Add `markup.` scopes in `gruvbox` themes (#1518) As recommended by @archseer in https://github.com/helix-editor/helix/pull/1509#issuecomment-1013583069 --- runtime/themes/gruvbox.toml | 7 +++++++ runtime/themes/gruvbox_light.toml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/runtime/themes/gruvbox.toml b/runtime/themes/gruvbox.toml index 9eae0915..2754688d 100644 --- a/runtime/themes/gruvbox.toml +++ b/runtime/themes/gruvbox.toml @@ -55,6 +55,13 @@ "diagnostic" = { modifiers = ["underlined"] } +"markup.heading" = "aqua1" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { fg = "green1", modifiers = ["underlined"] } +"markup.link.text" = "red1" +"markup.raw" = "red1" + [palette] bg0 = "#282828" # main background bg1 = "#3c3836" diff --git a/runtime/themes/gruvbox_light.toml b/runtime/themes/gruvbox_light.toml index c867b9d5..81ea7fd1 100644 --- a/runtime/themes/gruvbox_light.toml +++ b/runtime/themes/gruvbox_light.toml @@ -20,6 +20,7 @@ "function" = { fg = "green1", modifiers = ["bold"] } "function.macro" = "aqua1" "function.builtin" = "yellow1" +"tag" = "red1" "comment" = { fg = "gray1", modifiers = ["italic"] } "constant" = { fg = "purple1" } "constant.builtin" = { fg = "purple1", modifiers = ["bold"] } @@ -56,6 +57,13 @@ "diagnostic" = { modifiers = ["underlined"] } +"markup.heading" = "aqua1" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { fg = "green1", modifiers = ["underlined"] } +"markup.link.text" = "red1" +"markup.raw" = "red1" + [palette] bg0 = "#fbf1c7" # main background bg1 = "#ebdbb2"