mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-29 12:53:29 +04:00
Fix Base16 Dark, add Base16 Light and Terminal
Improve accuracy with line number and cursor color
This commit is contained in:
parent
b25d453f64
commit
43d17c482c
@ -1,27 +1,28 @@
|
|||||||
# Author: RayGervais<raygervais@hotmail.ca>
|
# Author: RayGervais <raygervais@hotmail.ca>
|
||||||
|
|
||||||
"ui.background" = { bg = "base00" }
|
"ui.background" = { bg = "base00" }
|
||||||
"ui.menu" = "base01"
|
"ui.menu" = "base01"
|
||||||
"ui.menu.selected" = { fg = "base04", bg = "base01" }
|
"ui.menu.selected" = { fg = "base04", bg = "base01" }
|
||||||
"ui.linenr" = {fg = "base01" }
|
"ui.linenr" = { fg = "base03", bg = "base01" }
|
||||||
"ui.popup" = { bg = "base01" }
|
"ui.popup" = { bg = "base01" }
|
||||||
"ui.window" = { bg = "base01" }
|
"ui.window" = { bg = "base01" }
|
||||||
"ui.liner.selected" = "base02"
|
"ui.linenr.selected" = { fg = "base04", bg = "base01", modifiers = ["bold"] }
|
||||||
"ui.selection" = "base02"
|
"ui.selection" = { bg = "base02" }
|
||||||
"comment" = "base03"
|
"comment" = { fg = "base03", modifiers = ["italic"] }
|
||||||
"ui.statusline" = {fg = "base04", bg = "base01" }
|
"ui.statusline" = { fg = "base04", bg = "base01" }
|
||||||
"ui.help" = { fg = "base04", bg = "base01" }
|
"ui.help" = { fg = "base04", bg = "base01" }
|
||||||
"ui.cursor" = { fg = "base05", modifiers = ["reversed"] }
|
"ui.cursor" = { fg = "base04", modifiers = ["reversed"] }
|
||||||
"ui.text" = { fg = "base05" }
|
"ui.cursor.primary" = { fg = "base05", modifiers = ["reversed"] }
|
||||||
|
"ui.text" = "base05"
|
||||||
"operator" = "base05"
|
"operator" = "base05"
|
||||||
"ui.text.focus" = { fg = "base05" }
|
"ui.text.focus" = "base05"
|
||||||
"variable" = "base08"
|
"variable" = "base08"
|
||||||
"constant.numeric" = "base09"
|
"constant.numeric" = "base09"
|
||||||
"constant" = "base09"
|
"constant" = "base09"
|
||||||
"attributes" = "base09"
|
"attributes" = "base09"
|
||||||
"type" = "base0A"
|
"type" = "base0A"
|
||||||
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
|
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
|
||||||
"strings" = "base0B"
|
"string" = "base0B"
|
||||||
"variable.other.member" = "base0B"
|
"variable.other.member" = "base0B"
|
||||||
"constant.character.escape" = "base0C"
|
"constant.character.escape" = "base0C"
|
||||||
"function" = "base0D"
|
"function" = "base0D"
|
||||||
@ -32,7 +33,7 @@
|
|||||||
"namespace" = "base0E"
|
"namespace" = "base0E"
|
||||||
"ui.popup" = { bg = "base01" }
|
"ui.popup" = { bg = "base01" }
|
||||||
"ui.window" = { bg = "base00" }
|
"ui.window" = { bg = "base00" }
|
||||||
"ui.help" = { bg = "base01", fg = "base06" }
|
"ui.help" = { fg = "base06", bg = "base01" }
|
||||||
|
|
||||||
"info" = "base03"
|
"info" = "base03"
|
||||||
"hint" = "base03"
|
"hint" = "base03"
|
||||||
|
60
runtime/themes/base16_default_light.toml
Normal file
60
runtime/themes/base16_default_light.toml
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Author: NNB <nnbnh@protonmail.com>
|
||||||
|
|
||||||
|
"ui.background" = { bg = "base00" }
|
||||||
|
"ui.menu" = "base01"
|
||||||
|
"ui.menu.selected" = { fg = "base04", bg = "base01" }
|
||||||
|
"ui.linenr" = { fg = "base03", bg = "base01" }
|
||||||
|
"ui.popup" = { bg = "base01" }
|
||||||
|
"ui.window" = { bg = "base01" }
|
||||||
|
"ui.linenr.selected" = { fg = "base04", bg = "base01", modifiers = ["bold"] }
|
||||||
|
"ui.selection" = { bg = "base02" }
|
||||||
|
"comment" = { fg = "base03", modifiers = ["italic"] }
|
||||||
|
"ui.statusline" = { fg = "base04", bg = "base01" }
|
||||||
|
"ui.help" = { fg = "base04", bg = "base01" }
|
||||||
|
"ui.cursor" = { fg = "base04", modifiers = ["reversed"] }
|
||||||
|
"ui.cursor.primary" = { fg = "base05", modifiers = ["reversed"] }
|
||||||
|
"ui.text" = "base05"
|
||||||
|
"operator" = "base05"
|
||||||
|
"ui.text.focus" = "base05"
|
||||||
|
"variable" = "base08"
|
||||||
|
"constant.numeric" = "base09"
|
||||||
|
"constant" = "base09"
|
||||||
|
"attributes" = "base09"
|
||||||
|
"type" = "base0A"
|
||||||
|
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
|
||||||
|
"string" = "base0B"
|
||||||
|
"variable.other.member" = "base0B"
|
||||||
|
"constant.character.escape" = "base0C"
|
||||||
|
"function" = "base0D"
|
||||||
|
"constructor" = "base0D"
|
||||||
|
"special" = "base0D"
|
||||||
|
"keyword" = "base0E"
|
||||||
|
"label" = "base0E"
|
||||||
|
"namespace" = "base0E"
|
||||||
|
"ui.popup" = { bg = "base01" }
|
||||||
|
"ui.window" = { bg = "base00" }
|
||||||
|
"ui.help" = { fg = "base06", bg = "base01" }
|
||||||
|
|
||||||
|
"info" = "base03"
|
||||||
|
"hint" = "base03"
|
||||||
|
"debug" = "base03"
|
||||||
|
"diagnostic" = "base03"
|
||||||
|
"error" = "base0E"
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
base00 = "#f8f8f8" # Default Background
|
||||||
|
base01 = "#e8e8e8" # Lighter Background (Used for status bars, line number and folding marks)
|
||||||
|
base02 = "#d8d8d8" # Selection Background
|
||||||
|
base03 = "#b8b8b8" # Comments, Invisibles, Line Highlighting
|
||||||
|
base04 = "#585858" # Dark Foreground (Used for status bars)
|
||||||
|
base05 = "#383838" # Default Foreground, Caret, Delimiters, Operators
|
||||||
|
base06 = "#282828" # Light Foreground (Not often used)
|
||||||
|
base07 = "#181818" # Light Background (Not often used)
|
||||||
|
base08 = "#ab4642" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||||
|
base09 = "#dc9656" # Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||||
|
base0A = "#f7ca88" # Classes, Markup Bold, Search Text Background
|
||||||
|
base0B = "#a1b56c" # Strings, Inherited Class, Markup Code, Diff Inserted
|
||||||
|
base0C = "#86c1b9" # Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||||
|
base0D = "#7cafc2" # Functions, Methods, Attribute IDs, Headings
|
||||||
|
base0E = "#ba8baf" # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||||
|
base0F = "#a16946" # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
41
runtime/themes/base16_terminal.toml
Normal file
41
runtime/themes/base16_terminal.toml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Author: NNB <nnbnh@protonmail.com>
|
||||||
|
|
||||||
|
"ui.menu" = "black"
|
||||||
|
"ui.menu.selected" = { fg = "white", bg = "black" }
|
||||||
|
"ui.linenr" = { fg = "light-gray", bg = "black" }
|
||||||
|
"ui.popup" = { bg = "black" }
|
||||||
|
"ui.window" = { bg = "black" }
|
||||||
|
"ui.linenr.selected" = { fg = "white", bg = "black", modifiers = ["bold"] }
|
||||||
|
"ui.selection" = { fg = "gray", modifiers = ["reversed"] }
|
||||||
|
"comment" = { fg = "light-gray", modifiers = ["italic"] }
|
||||||
|
"ui.statusline" = { fg = "white", bg = "black" }
|
||||||
|
"ui.help" = { fg = "white", bg = "black" }
|
||||||
|
"ui.cursor" = { fg = "light-gray", modifiers = ["reversed"] }
|
||||||
|
"ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] } #FIXME
|
||||||
|
"ui.text" = "white" #FIXME
|
||||||
|
"operator" = "white" #FIXME
|
||||||
|
"ui.text.focus" = "white" #FIXME
|
||||||
|
"variable" = "light-red"
|
||||||
|
"constant.numeric" = "yellow"
|
||||||
|
"constant" = "yellow"
|
||||||
|
"attributes" = "yellow"
|
||||||
|
"type" = "light-yellow"
|
||||||
|
"ui.cursor.match" = { fg = "light-yellow", modifiers = ["underlined"] }
|
||||||
|
"string" = "light-green"
|
||||||
|
"variable.other.member" = "light-green"
|
||||||
|
"constant.character.escape" = "light-cyan"
|
||||||
|
"function" = "light-blue"
|
||||||
|
"constructor" = "light-blue"
|
||||||
|
"special" = "light-blue"
|
||||||
|
"keyword" = "light-magenta"
|
||||||
|
"label" = "light-magenta"
|
||||||
|
"namespace" = "light-magenta"
|
||||||
|
"ui.popup" = { bg = "black" }
|
||||||
|
"ui.window" = { bg = "base00" }
|
||||||
|
"ui.help" = { fg = "white", bg = "black" }
|
||||||
|
|
||||||
|
"info" = "light-gray"
|
||||||
|
"hint" = "light-gray"
|
||||||
|
"debug" = "light-gray"
|
||||||
|
"diagnostic" = "light-gray"
|
||||||
|
"error" = "light-magenta"
|
Loading…
Reference in New Issue
Block a user