From c18b54263ab8d1cce8db5516576ce69bb0308878 Mon Sep 17 00:00:00 2001 From: "Soc Virnyl S. Estela" Date: Wed, 17 Aug 2022 22:31:17 +0800 Subject: [PATCH] theme: add papercolor light (#3426) * theme: add papercolor light * fix typo * add markup highlighting --- runtime/themes/papercolor-light.toml | 94 ++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 runtime/themes/papercolor-light.toml diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml new file mode 100644 index 000000000..632eccbd7 --- /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 + +"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"