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