summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoc Virnyl S. Estela2022-08-17 14:31:17 +0000
committerGitHub2022-08-17 14:31:17 +0000
commitc18b54263ab8d1cce8db5516576ce69bb0308878 (patch)
tree188cbc3c78d066a5451c39f84fc6140f1a8bff6c
parent7711db3a3af8f7ca156c8c71ae4b7ea2dd02d96f (diff)
theme: add papercolor light (#3426)
* theme: add papercolor light * fix typo * add markup highlighting
-rw-r--r--runtime/themes/papercolor-light.toml94
1 files changed, 94 insertions, 0 deletions
diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml
new file mode 100644
index 00000000..632eccbd
--- /dev/null
+++ b/runtime/themes/papercolor-light.toml
@@ -0,0 +1,94 @@
+# Palette based on https://github.com/NLKNguyen/papercolor-theme
+# Author: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
+
+"ui.background" = {bg="background"}
+"ui.text" = "foreground"
+"ui.selection" = {bg="selection_background", fg="selection_foreground"}
+"ui.statusline" = {bg="paper_bar_bg", fg="regular0"}
+"ui.statusline.inactive" = {bg="background", fg="bright2"}
+"ui.virtual" = "indent"
+"ui.virtual.whitespace" = { fg = "regular5" }
+"ui.cursor.match" = {bg = "foreground", fg = "regular4"}
+"ui.cursor" = {bg = "foreground", fg = "background"}
+"ui.window" = {bg = "background", fg = "bright3"}
+"ui.menu.selected" = {bg = "selection_background"}
+
+"markup.heading" = { fg = "bright2", modifiers = ["bold"] }
+"markup.list" = "regular4"
+"markup.bold" = { fg = "foreground", modifiers = ["bold"] }
+"markup.italic" = { modifiers = ["italic"] }
+"markup.link.url" = { fg = "regular4", modifiers = ["underlined"] }
+"markup.link.text" = "bright2"
+"markup.link.label" = { fg = "regular7", modifiers = ["bold"] }
+"markup.raw" = "foreground"
+
+"string" = "foreground"
+"attribute" = "bright7"
+"keyword" = { fg = "regular4", modifiers = ["bold"]}
+"keyword.directive" = "regular1"
+"namespace" = "regular1"
+"type" = "bright2"
+"type.builtin" = { fg = "regular4", modifiers = ["bold"]}
+"variable" = "foreground"
+"variable.builtin" = "cyan"
+"variable.other.member" = "regular4"
+"variable.parameter" = "foreground"
+
+"special" = "#3E999F"
+"function" = "bright1"
+"constructor" = "bright1"
+"function.builtin" = { fg = "regular4", modifiers = ["bold"]}
+"function.macro" = { fg = "regular1" }
+"comment" = { fg = "bright0", modifiers = ["dim"] }
+"module" = "#af0000"
+"constant" = "#5f8700"
+"constant.builtin" = "#5f8700"
+"constant.numeric" = "#d75f00"
+"constant.character.escape" = { fg = "#8700af", modifiers = ["bold"]}
+"operator" = { fg = "regular4", modifiers = ["bold"]}
+
+"label" = { fg = "selection_background", modifiers = ["bold", "italic"] }
+
+"warning" = "bright4"
+"error" = "regular1"
+"info" = "#FFAF00"
+diagnostic = { modifiers = ["bold", "underlined"]}
+
+[palette]
+background="#eeeeee"
+foreground="#444444"
+regular0="#eeeeee"
+regular1="#af0000"
+regular2="#008700"
+regular3="#5f8700"
+regular4="#0087af"
+regular5="#878787"
+regular6="#005f87"
+regular7="#764e37"
+bright0="#bcbcbc"
+bright1="#d70000"
+bright2="#d70087"
+bright3="#8700af"
+bright4="#d75f00"
+bright5="#d75f00"
+bright6="#4c7a5d"
+bright7="#005faf"
+selection_foreground="#eeeeee"
+selection_background="#0087af"
+paper_bar_bg="#005F87"
+black="#eeeeee"
+red="#d70000"
+green="#008700"
+yellow="#5f8700"
+blue="#0087af"
+magenta="#878787"
+cyan="#005f87"
+gray="#764e37"
+light-red="#d70000"
+light-green="#d70087"
+light-yellow="#8700af"
+light-blue="#d75f00"
+light-magenta="#d75f00"
+light-cyan="#4c7a4d"
+light-gray="#005faf"
+white="#444444"