Skip to content

Commit

Permalink
theme: add papercolor light (#3426)
Browse files Browse the repository at this point in the history
* theme: add papercolor light

* fix typo

* add markup highlighting
  • Loading branch information
Soc Virnyl S. Estela authored Aug 17, 2022
1 parent 7711db3 commit c18b542
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions runtime/themes/papercolor-light.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Palette based on https://github.com/NLKNguyen/papercolor-theme
# Author: Soc Virnyl Estela <[email protected]>

"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"

0 comments on commit c18b542

Please sign in to comment.