aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorRohan Jain2022-01-16 01:32:29 +0000
committerGitHub2022-01-16 01:32:29 +0000
commit62c78c061c165a874fde95cd8d99da32499f5c18 (patch)
treeaeea8481564f301b6d968325bc0fee8435d396ab /runtime
parent64d3e7b705341fef8af7f6cb5bbff5848489abd6 (diff)
Add `markup.` scopes in `gruvbox` themes (#1518)
As recommended by @archseer in https://github.com/helix-editor/helix/pull/1509#issuecomment-1013583069
Diffstat (limited to 'runtime')
-rw-r--r--runtime/themes/gruvbox.toml7
-rw-r--r--runtime/themes/gruvbox_light.toml8
2 files changed, 15 insertions, 0 deletions
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"