mirror of https://github.com/helix-editor/helix
Theme: Papercolor: Cleanup, linting and using inheritance (#8276)
parent
fe6b556f51
commit
764172d5bc
@ -1,124 +1,75 @@
|
|||||||
# Palette based on https://github.com/NLKNguyen/papercolor-theme
|
# Palette based on https://github.com/NLKNguyen/papercolor-theme
|
||||||
# Author: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
# Author: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||||
|
|
||||||
"ui.linenr.selected" = { fg = "linenr_fg_selected" }
|
inherits = "papercolor-light"
|
||||||
"ui.background" = {bg="background"}
|
|
||||||
"ui.text" = "foreground"
|
|
||||||
"ui.text.focus" = { fg = "selection_background", modifiers = ["bold"]}
|
|
||||||
"ui.selection" = {bg="selection_background", fg="selection_foreground"}
|
|
||||||
"ui.cursorline" = {bg="cursorline_background"}
|
|
||||||
"ui.highlight" = {bg="cursorline_background"}
|
|
||||||
"ui.statusline" = {bg="paper_bar_bg", fg="regular0"}
|
|
||||||
"ui.statusline.select" = {bg="background", fg="bright7"}
|
|
||||||
"ui.statusline.normal" = {bg="background", fg="bright3"}
|
|
||||||
"ui.statusline.inactive" = {bg="selection_foreground", fg="foreground"}
|
|
||||||
"ui.virtual.whitespace" = { fg = "regular5" }
|
|
||||||
"ui.virtual.ruler" = {bg="cursorline_background"}
|
|
||||||
"ui.cursor.match" = {bg = "regular5", fg = "regular0"}
|
|
||||||
"ui.cursor" = {bg = "regular5", fg = "background"}
|
|
||||||
"ui.window" = {bg = "#303030", fg = "bright2"}
|
|
||||||
"ui.help" = {bg = "background", fg = "bright2"}
|
|
||||||
"ui.popup" = {bg = "#303030", fg = "bright6"}
|
|
||||||
"ui.menu" = {bg = "#303030", fg = "bright6"}
|
|
||||||
"ui.menu.selected" = {bg = "#C6C6C6", fg="selection_foreground"}
|
|
||||||
|
|
||||||
"markup.heading" = { fg = "regular4", modifiers = ["bold"] }
|
[palette]
|
||||||
"markup.heading.1" = { fg = "bright2", modifiers = ["bold"] }
|
background = "#1c1c1c"
|
||||||
"markup.heading.2" = { fg = "bright5", modifiers = ["bold"] }
|
foreground = "#d0d0d0"
|
||||||
"markup.heading.3" = { fg = "bright3", modifiers = ["bold"] }
|
|
||||||
"markup.heading.4" = { fg = "bright5", modifiers = ["bold"] }
|
|
||||||
"markup.heading.5" = { fg = "bright5", modifiers = ["bold"] }
|
|
||||||
"markup.heading.6" = { fg = "bright5", modifiers = ["bold"] }
|
|
||||||
"markup.list" = "bright3"
|
|
||||||
"markup.bold" = { fg = "foreground", modifiers = ["bold"] }
|
|
||||||
"markup.italic" = { fg = "bright0", modifiers = ["italic"] }
|
|
||||||
"markup.strikethrough" = { modifiers = ["crossed_out"] }
|
|
||||||
"markup.link.url" = { fg = "bright6", modifiers = ["underlined"] }
|
|
||||||
"markup.link.text" = "bright2"
|
|
||||||
"markup.link.label" = { fg = "regular2", modifiers = ["bold"] }
|
|
||||||
"markup.raw" = "foreground"
|
|
||||||
|
|
||||||
"string" = "foreground"
|
|
||||||
"attribute" = "bright7"
|
|
||||||
"keyword" = { fg = "regular4", modifiers = ["bold"]}
|
|
||||||
"keyword.directive" = "regular4"
|
|
||||||
"keyword.control.conditional" = "bright3"
|
|
||||||
"keyword.function" = "regular4"
|
|
||||||
"namespace" = "bright1"
|
|
||||||
"type" = "bright2"
|
|
||||||
"type.builtin" = { fg = "foreground", modifiers = ["bold"]}
|
|
||||||
"variable" = "foreground"
|
|
||||||
"variable.builtin" = "cyan"
|
|
||||||
"variable.other.member" = "cyan"
|
|
||||||
"variable.parameter" = "foreground"
|
|
||||||
|
|
||||||
"special" = "#3E999F"
|
|
||||||
"function" = "bright6"
|
|
||||||
"constructor" = "regular4"
|
|
||||||
"function.builtin" = { fg = "foreground", modifiers = ["bold"]}
|
|
||||||
"function.macro" = { fg = "regular4", modifiers = ["bold"] }
|
|
||||||
"comment" = { fg = "#686868", modifiers = ["dim"] }
|
|
||||||
"ui.linenr" = { fg = "bright0" }
|
|
||||||
"module" = "regular4"
|
|
||||||
"constant" = "bright5"
|
|
||||||
"constant.builtin" = "bright6"
|
|
||||||
"constant.numeric" = "bright5"
|
|
||||||
"constant.character.escape" = { fg = "foreground", modifiers = ["bold"]}
|
|
||||||
"operator" = { fg = "regular4", modifiers = ["bold"]}
|
|
||||||
|
|
||||||
"label" = { fg = "selection_background", modifiers = ["bold", "italic"] }
|
|
||||||
|
|
||||||
"diff.plus" = "regular2"
|
|
||||||
"diff.delta" = "regular6"
|
|
||||||
"diff.minus" = "regular1"
|
|
||||||
|
|
||||||
"warning" = "bright4"
|
regular0 = "#1c1c1c" # color00 "Background"
|
||||||
"error" = "regular1"
|
regular1 = "#af005f" # color01 "Negative"
|
||||||
"info" = "bright4"
|
regular2 = "#5faf00" # color02 "Positive"
|
||||||
|
regular3 = "#d7af5f" # color03 "Olive"
|
||||||
|
regular4 = "#5fafd7" # color04 "Neutral" / Aqua
|
||||||
|
regular5 = "#808080" # color05 "Comment"
|
||||||
|
regular6 = "#d7875f" # color06 "Navy"
|
||||||
|
regular7 = "#d0d0d0" # color07 "Foreground"
|
||||||
|
bright0 = "#585858" # color08 "Nontext"
|
||||||
|
bright1 = "#5faf5f" # color09 "Red"
|
||||||
|
bright2 = "#afd700" # color10 "Pink"
|
||||||
|
bright3 = "#af87d7" # color11 "Purple"
|
||||||
|
bright4 = "#ffaf00" # color12 "Accent"
|
||||||
|
bright5 = "#ff5faf" # color13 "Orange"
|
||||||
|
bright6 = "#00afaf" # color14 "Blue"
|
||||||
|
bright7 = "#5f8787" # color15 "Highlight"
|
||||||
|
|
||||||
"diagnostic.warning".underline = { color = "bright4", style = "curl" }
|
selection_fg = "#000000"
|
||||||
"diagnostic.error".underline = { color = "regular1", style = "curl" }
|
selection_bg = "#8787af"
|
||||||
"diagnostic.info".underline = { color = "bright4", style = "curl" }
|
selection_secondary_fg = "#333333"
|
||||||
"diagnostic.hint".underline = { color = "bright4", style = "curl" }
|
selection_secondary_bg = "#707097"
|
||||||
|
special = "#3e999f"
|
||||||
|
|
||||||
|
cursorline_bg = "#303030"
|
||||||
|
cursorline_secondary_bg = "#2a2a2a"
|
||||||
|
cursorcolumn_bg = "#303030"
|
||||||
|
cursorcolumn_secondary_bg = "#2a2a2a"
|
||||||
|
cursorlinenr_fg = "#ffff00"
|
||||||
|
popupmenu_fg = "#c6c6c6"
|
||||||
|
popupmenu_bg = "#303030"
|
||||||
|
linenumber_fg = "#585858"
|
||||||
|
vertsplit_fg = "#5f8787"
|
||||||
|
statusline_active_fg = "#1c1c1c"
|
||||||
|
statusline_active_bg = "#5f8787"
|
||||||
|
statusline_inactive_fg = "#bcbcbc"
|
||||||
|
statusline_inactive_bg = "#3a3a3a"
|
||||||
|
todo_fg = "#ff8700"
|
||||||
|
error_fg = "#af005f"
|
||||||
|
error_bg = "#5f0000"
|
||||||
|
matchparen_bg = "#4e4e4e"
|
||||||
|
matchparen_fg = "#c6c6c6"
|
||||||
|
wildmenu_fg = "#1c1c1c"
|
||||||
|
wildmenu_bg = "#afd700"
|
||||||
|
diffadd_fg = "#87d700"
|
||||||
|
diffadd_bg = "#005f00"
|
||||||
|
diffdelete_fg = "#af005f"
|
||||||
|
diffdelete_bg = "#5f0000"
|
||||||
|
diffchange_bg = "#005f5f"
|
||||||
|
|
||||||
[palette]
|
# 16 bit ANSI color names
|
||||||
background="#1c1c1c"
|
black = "#1c1c1c"
|
||||||
foreground="#d0d0d0"
|
red = "#af005f"
|
||||||
regular0="#1c1c1c"
|
green = "#5faf00"
|
||||||
regular1="#af005f"
|
yellow = "#d7af5f"
|
||||||
regular2="#5faf00"
|
blue = "#5fafd7"
|
||||||
regular3="#d7af5f"
|
magenta = "#808080"
|
||||||
regular4="#5fafd7"
|
cyan = "#d7875f"
|
||||||
regular5="#808080"
|
white = "#d0d0d0"
|
||||||
regular6="#d7875f"
|
light-black = "#585858"
|
||||||
regular7="#d0d0d0"
|
light-red = "#5faf5f"
|
||||||
bright0="#585858"
|
light-green = "#afd700"
|
||||||
bright1="#5faf5f"
|
light-yellow = "#af87d7"
|
||||||
bright2="#afd700"
|
light-blue = "#ffaf00"
|
||||||
bright3="#af87d7"
|
light-magenta = "#ff5faf"
|
||||||
bright4="#FFAF00"
|
light-cyan = "#00afaf"
|
||||||
bright5="#ff5faf"
|
light-white = "#5f8787"
|
||||||
bright6="#00afaf"
|
|
||||||
bright7="#5f8787"
|
|
||||||
selection_foreground="#585858"
|
|
||||||
selection_background="#8787AF"
|
|
||||||
cursorline_background="#303030"
|
|
||||||
paper_bar_bg="#5F8787"
|
|
||||||
black="#1c1c1c"
|
|
||||||
red="#af005f"
|
|
||||||
green="#5faf00"
|
|
||||||
yellow="#d7af5f"
|
|
||||||
blue="#5fafd7"
|
|
||||||
magenta="#808080"
|
|
||||||
cyan="#d7875f"
|
|
||||||
gray="#d0d0d0"
|
|
||||||
light-red="#5faf5f"
|
|
||||||
light-green="#afd700"
|
|
||||||
light-yellow="#af87d7"
|
|
||||||
light-blue="#FFAF00"
|
|
||||||
light-magenta="#ff5faf"
|
|
||||||
light-cyan="#00afaf"
|
|
||||||
light-gray="#5f8787"
|
|
||||||
white="#808080"
|
|
||||||
linenr_fg_selected="#FFFF00"
|
|
||||||
|
Loading…
Reference in New Issue