Update onedark theme (#936)

- Use named color palette
- Remove blue highlight for variables (too much noise)
- Add purple highlight for control statements (if, match, etc)
pull/937/head
Gokul Soumya 3 years ago committed by GitHub
parent f140a2a00e
commit ea452bec80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,54 +1,71 @@
# Author : Gokul Soumya <gokulps15@gmail.com> # Author : Gokul Soumya <gokulps15@gmail.com>
"attribute" = { fg = "#E5C07B" } "attribute" = { fg = "yellow" }
"comment" = { fg = "#5C6370", modifiers = ['italic'] } "comment" = { fg = "light-gray", modifiers = ["italic"] }
"constant" = { fg = "#56B6C2" } "constant" = { fg = "cyan" }
"constant.builtin" = { fg = "#61AFEF" } "constant.builtin" = { fg = "blue" }
"constructor" = { fg = "#61AFEF" } "constructor" = { fg = "blue" }
"escape" = { fg = "#D19A66" } "escape" = { fg = "gold" }
"function" = { fg = "#61AFEF" } "function" = { fg = "blue" }
"function.builtin" = { fg = "#61AFEF" } "function.builtin" = { fg = "blue" }
"function.macro" = { fg = "#C678DD" } "function.macro" = { fg = "purple" }
"keyword" = { fg = "#E06C75" } "keyword" = { fg = "red" }
"keyword.directive" = { fg = "#C678DD" } "keyword.control" = { fg = "purple" }
"label" = { fg = "#C678DD" } "keyword.directive" = { fg = "purple" }
"namespace" = { fg = "#61AFEF" } "label" = { fg = "purple" }
"number" = { fg = "#D19A66" } "namespace" = { fg = "blue" }
"operator" = { fg = "#C678DD" } "number" = { fg = "gold" }
"property" = { fg = "#E06C75" } "operator" = { fg = "purple" }
"special" = { fg = "#61AFEF" } "property" = { fg = "red" }
"string" = { fg = "#98C379" } "special" = { fg = "blue" }
"type" = { fg = "#E5C07B" } "string" = { fg = "green" }
"type.builtin" = { fg = "#E5C07B" } "type" = { fg = "yellow" }
"variable" = { fg = "#61AFEF" } "type.builtin" = { fg = "yellow" }
"variable.builtin" = { fg = "#61AFEF" } # "variable" = { fg = "blue" }
"variable.parameter" = { fg = "#E06C75" } "variable.builtin" = { fg = "blue" }
"variable.parameter" = { fg = "red" }
diagnostic = { modifiers = ["underlined"] } diagnostic = { modifiers = ["underlined"] }
"info" = { fg = "#61afef", modifiers = ['bold'] } "info" = { fg = "blue", modifiers = ["bold"] }
"hint" = { fg = "#98c379", modifiers = ['bold'] } "hint" = { fg = "green", modifiers = ["bold"] }
"warning" = { fg = "#e5c07b", modifiers = ['bold'] } "warning" = { fg = "yellow", modifiers = ["bold"] }
"error" = { fg = "#e06c75", modifiers = ['bold'] } "error" = { fg = "red", modifiers = ["bold"] }
"ui.background" = { bg = "#282C34" } "ui.background" = { bg = "black" }
"ui.cursor" = { fg = "#ABB2BF", modifiers = ["reversed"] } "ui.cursor" = { fg = "white", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "#ABB2BF", modifiers = ["reversed"] } "ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] }
"ui.cursor.match" = { fg = "#61AFEF", modifiers = ['underlined']} "ui.cursor.match" = { fg = "blue", modifiers = ["underlined"]}
"ui.selection" = { bg = "#5C6370" } "ui.selection" = { bg = "light-gray" }
"ui.selection.primary" = { bg = "#3E4452" } "ui.selection.primary" = { bg = "gray" }
"ui.linenr" = { fg = "#4B5263", modifiers = ['dim'] } "ui.linenr" = { fg = "linenr", modifiers = ["dim"] }
"ui.linenr.selected" = { fg = "#ABB2BF" } "ui.linenr.selected" = { fg = "white" }
"ui.statusline" = { fg = "#ABB2BF", bg = "#2C323C" } "ui.statusline" = { fg = "white", bg = "light-black" }
"ui.statusline.inactive" = { fg = "#5C6370", bg = "#2C323C" } "ui.statusline.inactive" = { fg = "light-gray", bg = "light-black" }
"ui.text" = { fg = "#ABB2BF" } "ui.text" = { fg = "white" }
"ui.text.focus" = { fg = "#ABB2BF", bg = "#2C323C", modifiers = ['bold'] } "ui.text.focus" = { fg = "white", bg = "light-black", modifiers = ["bold"] }
"ui.help" = { bg = "#3E4452" } "ui.help" = { bg = "gray" }
"ui.popup" = { bg = "#3E4452" } "ui.popup" = { bg = "gray" }
"ui.window" = { bg = "#3E4452" } "ui.window" = { bg = "gray" }
"ui.menu.selected" = { fg = "#282C34", bg = "#61AFEF" } "ui.menu.selected" = { fg = "black", bg = "blue" }
[palette]
yellow = "#E5C07B"
blue = "#61AFEF"
red = "#E06C75"
purple = "#C678DD"
green = "#98C379"
gold = "#D19A66"
cyan = "#56B6C2"
white = "#ABB2BF"
black = "#282C34"
light-black = "#2C323C"
gray = "#3E4452"
light-gray = "#5C6370"
linenr = "#4B5263"

Loading…
Cancel
Save