fork/helix
git clone https://git.julia.blue/fork/helix
e63ed057
25.01.1
1# Palette based on https://github.com/NLKNguyen/papercolor-theme 2# Author: Soc Virnyl Estela <socvirnyl.estela@gmail.com> 3 4"ui.linenr.selected" = { fg = "cursorlinenr_fg" , modifiers = [ "bold" ] } 5"ui.linenr" = { fg = "linenumber_fg" } 6"ui.background" = { bg = "background" } 7"ui.text" = "foreground" 8"ui.text.focus" = { fg = "selection_bg" , modifiers = [ "bold" ] } 9"ui.selection" = { bg = "selection_secondary_bg" , fg = "selection_secondary_fg" } 10"ui.selection.primary" = { bg = "selection_bg" , fg = "selection_fg" } 11"ui.highlight" = { bg = "cursorline_bg" } 12 13"ui.cursorline" = { bg = "cursorline_bg" } 14"ui.cursorline.secondary" = { bg = "cursorline_secondary_bg" } 15"ui.cursorcolumn" = { bg = "cursorline_bg" } 16"ui.cursorcolumn.secondary" = { bg = "cursorcolumn_secondary_bg" } 17 18"ui.statusline" = { bg = "statusline_active_bg" , fg = "statusline_active_fg" } 19"ui.statusline.inactive" = { bg = "statusline_inactive_bg" , fg = "statusline_inactive_fg" } 20"ui.statusline.normal" = { bg = "statusline_inactive_bg" , fg = "bright6" } 21"ui.statusline.insert" = { bg = "statusline_inactive_bg" , fg = "bright4" } 22"ui.statusline.select" = { bg = "statusline_inactive_bg" , fg = "regular3" } 23"ui.statusline.separator" = { bg = "statusline_active_bg" , fg = "statusline_active_bg" } 24 25"ui.virtual" = { fg = "cursorlinenr_fg" } 26"ui.virtual.whitespace" = { fg = "regular5" } 27"ui.virtual.indent-guide" = { fg = "bright0" } 28"ui.virtual.ruler" = { bg = "cursorline_secondary_bg" , fg = "regular4" } 29"ui.virtual.inlay-hint" = { fg = "regular5" , modifiers = [ "italic" ] } 30"ui.virtual.inlay-hint.parameter" = { fg = "regular5" , modifiers = [ "italic" ] } 31"ui.virtual.inlay-hint.type" = { fg = "regular5" , modifiers = [ "bold" , "italic" ] } 32"ui.virtual.jump-label" = { fg = "bright1" , modifiers = [ "bold" ] } 33"ui.cursor.match" = { bg = "matchparen_bg" , fg = "matchparen_fg" } 34"ui.cursor" = { bg = "regular5" , fg = "background" } 35"ui.cursor.primary" = { bg = "foreground" , fg = "background" } 36"ui.window" = { fg = "vertsplit_fg" } 37"ui.help" = { bg = "wildmenu_bg" , fg = "wildmenu_fg" } 38"ui.popup" = { bg = "popupmenu_bg" , fg = "popupmenu_fg" } 39"ui.popup.info" = { bg = "popupmenu_bg" , fg = "bright7" , modifiers = [ "bold" ] } 40"ui.menu" = { bg = "popupmenu_bg" , fg = "foreground" } 41"ui.menu.selected" = { bg = "selection_bg" , fg = "selection_fg" } 42 43"warning" = "bright5" 44"error" = { bg = "error_bg" , fg = "error_fg" } 45"info" = "todo_fg" 46 47"diagnostic.warning" = { fg = "bright0" , modifiers = [ 48"dim" , 49], underline = { color = "bright5" , style = "curl" } } 50"diagnostic.error" . underline = { color = "bright1" , style = "curl" } 51"diagnostic.info" . underline = { color = "bright4" , style = "curl" } 52"diagnostic.hint" . underline = { color = "bright6" , style = "curl" } 53"diagnostic.unnecessary" = { modifiers = [ "dim" ] } 54"diagnostic.deprecated" = { modifiers = [ "crossed_out" ] } 55 56# Tree-sitter scopes for syntax highlighting 57"attribute" = "bright4" 58 59"type" = { fg = "bright2" , modifiers = [ "bold" ] } 60"type.builtin" = { fg = "bright2" , modifiers = [ "bold" ] } 61"type.parameter" = { fg = "foreground" } 62"type.enum" = { fg = "foreground" } 63"type.enum.variant" = { fg = "foreground" } 64 65"constructor" = "foreground" 66 67"constant" = "bright5" 68"constant.builtin" = "regular3" 69"constant.builtin.boolean" = { fg = "regular2" , modifiers = [ "bold" ] } 70"constant.character.escape" = { fg = "bright3" , modifiers = [ "bold" ] } 71"constant.character" = { fg = "regular3" } 72"constant.numeric" = "bright5" 73 74"string" = "regular3" 75"string.regexp" = "bright3" 76 77"comment" = { fg = "regular5" , modifiers = [ "italic" ] } 78"comment.line" = { fg = "regular5" , modifiers = [ "italic" ] } 79"comment.block" = { fg = "regular5" , modifiers = [ "italic" ] } 80"comment.block.documentation" = { fg = "regular5" , modifiers = [ "bold" ] } 81 82"variable" = "foreground" 83"variable.builtin" = "bright5" 84"variable.other.member" = "foreground" 85"variable.parameter" = "foreground" 86 87"label" = { fg = "selection_bg" , modifiers = [ "bold" , "italic" ] } 88 89"punctuation" = { fg = "foreground" } 90"punctuation.delimiter" = { fg = "regular4" , modifiers = [ "bold" ] } 91"punctuation.bracket" = { fg = "foreground" } 92"punctuation.special" = { fg = "bright1" , modifiers = [ "bold" ] } 93 94"keyword" = { fg = "bright2" } 95"keyword.control" = "bright1" 96"keyword.control.conditional" = { fg = "bright3" , modifiers = [ "bold" ] } 97"keyword.control.repeat" = { fg = "bright3" , modifiers = [ "bold" ] } 98"keyword.control.import" = { fg = "bright2" } 99"keyword.control.return" = { fg = "bright2" } 100"keyword.control.exception" = { fg = "bright1" } 101 102"keyword.operator" = { fg = "regular4" , modifiers = [ "bold" ] } 103"keyword.directive" = "regular4" 104"keyword.function" = "bright2" 105"keyword.storage" = "bright2" 106"keyword.storage.type" = { fg = "regular4" , modifiers = [ "bold" ] } 107"keyword.storage.modifier" = { fg = "regular6" , modifiers = [ "bold" ] } 108"keyword.storage.modifier.ref" = { fg = "regular4" , modifiers = [ "bold" ] } 109"keyword.special" = "bright1" 110 111"operator" = { fg = "regular4" , modifiers = [ "bold" ] } 112 113"function" = { fg = "foreground" } 114"function.builtin" = { fg = "bright6" } 115"function.method" = { fg = "foreground" } 116"function.macro" = { fg = "regular3" , modifiers = [ "bold" ] } 117"function.special" = { fg = "bright4" } 118 119"tag" = { fg = "regular4" } 120 121"namespace" = "bright6" 122 123"special" = "special" 124 125"markup.heading" = { fg = "bright4" , modifiers = [ "bold" ] } 126"markup.heading.marker" = { fg = "bright2" , modifiers = [ "bold" ] } 127"markup.heading.1" = { fg = "bright2" , modifiers = [ "bold" ] } 128"markup.heading.2" = { fg = "bright5" , modifiers = [ "bold" ] } 129"markup.heading.3" = { fg = "bright3" , modifiers = [ "bold" ] } 130"markup.heading.4" = { fg = "bright4" , modifiers = [ "bold" ] } 131"markup.heading.5" = { fg = "bright4" , modifiers = [ "bold" ] } 132"markup.heading.6" = { fg = "bright4" , modifiers = [ "bold" ] } 133"markup.list" = "regular4" 134"markup.bold" = { fg = "foreground" , modifiers = [ "bold" ] } 135"markup.italic" = { modifiers = [ "italic" ] } 136"markup.strikethrough" = { modifiers = [ "crossed_out" ] } 137"markup.link.url" = { fg = "bright6" , underline . style = "line" } 138"markup.link.text" = "bright2" 139"markup.link.label" = { fg = "regular2" , modifiers = [ "bold" ] } 140"markup.quote" = "regular4" 141# Both inline and block code 142"markup.raw" = "regular3" 143 144"diff.plus" = { bg = "diffadd_bg" , fg = "diffadd_fg" } 145"diff.delta" = { bg = "diffchange_bg" } 146"diff.delta.moved" = { modifiers = [ "italic" ] } 147"diff.minus" = { bg = "diffdelete_bg" , fg = "diffdelete_fg" } 148 149[ palette ] 150background = "#eeeeee" 151foreground = "#444444" 152regular0 = "#eeeeee" # color00 "Background" 153regular1 = "#af0000" # color01 "Negative" 154regular2 = "#008700" # color02 "Positive" 155regular3 = "#5f8700" # color03 "Olve" 156regular4 = "#0087af" # color04 "Neutral" / Aqua 157regular5 = "#878787" # color05 "Comment" 158regular6 = "#005f87" # color06 "Navy" 159regular7 = "#444444" # color07 "Foreground" 160bright0 = "#bcbcbc" # color08 "Nontext" 161bright1 = "#d70000" # color09 "Red" 162bright2 = "#d70087" # color10 "Pink" 163bright3 = "#8700af" # color11 "Purple" 164bright4 = "#d75f00" # color12 "Accent" 165bright5 = "#d75f00" # color13 "Orange" 166bright6 = "#005faf" # color14 "Blue" 167bright7 = "#005f87" # color15 "Highlight" 168 169selection_fg = "#eeeeee" 170selection_bg = "#0087af" 171selection_secondary_fg = "#d9d7d7" 172selection_secondary_bg = "#2c687a" 173special = "#3e999f" 174 175cursorline_bg = "#e4e4e4" 176cursorline_secondary_bg = "#eaeaea" 177cursorcolumn_bg = "#e4e4e4" 178cursorcolumn_secondary_bg = "#eaeaea" 179cursorlinenr_fg = "#af5f00" 180popupmenu_fg = "#444444" 181popupmenu_bg = "#d0d0d0" 182linenumber_fg = "#b2b2b2" 183vertsplit_fg = "#005f87" 184statusline_active_fg = "#e4e4e4" 185statusline_active_bg = "#005f87" 186statusline_inactive_fg = "#444444" 187statusline_inactive_bg = "#d0d0d0" 188todo_fg = "#00af5f" 189error_fg = "#af0000" 190error_bg = "#ffd7ff" 191matchparen_bg = "#c6c6c6" 192matchparen_fg = "#005f87" 193wildmenu_fg = "#444444" 194wildmenu_bg = "#ffff00" 195diffadd_fg = "#008700" 196diffadd_bg = "#afffaf" 197diffdelete_fg = "#af0000" 198diffdelete_bg = "#ffd7ff" 199diffchange_bg = "#ffd787" 200 201# 16 bit ANSI color names 202black = "#eeeeee" 203red = "#d70000" 204green = "#008700" 205yellow = "#5f8700" 206blue = "#0087af" 207magenta = "#878787" 208cyan = "#005f87" 209white = "#444444" 210light-black = "#bcbcbc" 211light-red = "#d70000" 212light-green = "#d70087" 213light-yellow = "#8700af" 214light-blue = "#d75f00" 215light-magenta = "#d75f00" 216light-cyan = "#4c7a4d" 217light-white = "#005faf"