Update onelight theme (#6192)

This commit is contained in:
Erasin Wang 2023-03-06 23:29:06 +08:00 committed by GitHub
parent 707457c632
commit cfb9986d84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,129 +1,184 @@
# One Light
# Author : erasin<erasinoo@gmail.com>
"attribute" = { fg = "yellow" }
"comment" = { fg = "gray", modifiers = ["italic"] }
"constructor" = { fg = "brown" }
"label" = { fg = "cyan" }
"operator" = { fg = "red" }
"tag" = { fg = "cyan" }
"namespace" = { fg = "blue" }
"special" = { fg = "deep-purple" }
"property" = { fg = "purple" }
"module" = { fg = "cyan" }
"constant" = { fg = "cyan" }
"type" = { fg = "gold" }
"type.builtin" = { fg = "light-blue" }
"type.enum" = { fg = "cyan" }
"type.enum.variant" = { fg = "cyan" }
"constant" = { fg = "cyan", modifiers = ["bold"] }
"constant.builtin" = { fg = "deep-purple" }
"constant.builtin.boolean" = { fg = "deep-purple" }
"constant.character" = { fg = "green" }
"constant.character.escape" = { fg = "brown" }
"constant.numeric" = { fg = "gold" }
"constant.builtin" = { fg = "gold" }
"constant.character.escape" = { fg = "gold" }
"constant.numeric.integer" = { fg = "gold" }
"constant.numeric.float" = { fg = "gold" }
"constructor" = { fg = "yellow" }
"string" = { fg = "green" }
"string.regexp" = { fg = "purple" }
"string.special" = { fg = "green" }
"string.special.path" = { fg = "blue" }
"string.special.url" = { fg = "light-blue" }
"string.special.symbol" = { fg = "pink" }
"comment" = { fg = "grey", modifiers = ["italic"] }
"comment.line" = { fg = "grey", modifiers = ["italic"] }
"comment.block" = { fg = "grey", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "grey", modifiers = ["italic"] }
# "variable" = { fg = "black" }
"variable.builtin" = { fg = "light-blue" }
"variable.parameter" = { fg = "red" }
"variable.other" = { fg = "pink" }
"variable.other.member" = { fg = "pink" }
"punctuation" = { fg = "black" }
"punctuation.delimiter" = { fg = "purple" }
"punctuation.bracket" = { fg = "brown" }
"punctuation.special" = { fg = "brown" }
"keyword" = { fg = "purple" }
"keyword.control" = { fg = "purple" }
"keyword.control.conditional" = { fg = "red", modifiers = ["bold"] }
"keyword.control.repeat" = { fg = "pink", modifiers = ["bold"] }
"keyword.control.import" = { fg = "red" }
"keyword.control.return" = { fg = "deep-purple", modifiers = ["bold"] }
"keyword.control.exception" = { fg = "purple" }
"keyword.operator" = { fg = "red" }
"keyword.directive" = { fg = "purple" }
"keyword.function" = { fg = "purple" }
"keyword.storage" = { fg = "purple" }
"keyword.storage.type" = { fg = "purple" }
"keyword.storage.modifier" = { fg = "purple", modifiers = ["bold"] }
"function" = { fg = "blue" }
"function.builtin" = { fg = "cyan" }
"function.macro" = { fg = "red" }
"keyword" = { fg = "purple" }
"keyword.function" = { fg = "purple" }
"keyword.control" = { fg = "purple" }
"keyword.control.import" = { fg = "purple" }
"keyword.directive" = { fg = "purple" }
"keyword.operator" = { fg = "purple" }
"keyword.storage.type" = { fg = "purple" }
"tag" = "cyan"
"label" = { fg = "cyan" }
"namespace" = { fg = "red" }
"operator" = { fg = "red" }
"special" = { fg = "purple" }
"string" = { fg = "green" }
"module" = { fg = "cyan" }
"type" = { fg = "yellow" }
"type.builtin" = { fg = "purple" }
"punctuation" = { fg = "gray" }
"punctuation.delimiter" = { fg = "black" }
"punctuation.bracket" = { fg = "gray" }
"variable" = { fg = "black" }
"variable.builtin" = { fg = "light-blue" }
"variable.parameter" = { fg = "red" }
"variable.other.member" = { fg = "red" }
"function.method" = { fg = "light-blue" }
"function.macro" = { fg = "pink", modifiers = ["bold"] }
"function.special" = { fg = "cyan" }
"markup.heading" = { fg = "red" }
"markup.raw" = { fg = "gray" }
"markup.raw.inline" = { fg = "green", bg = "grey-200" }
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"markup.list" = { fg = "light-blue" }
"markup.quote" = { fg = "gray" }
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"] }
"markup.link.text" = { fg = "light-blue" }
"markup.heading.marker" = { fg = "red" }
"markup.heading.1" = { fg = "red", modifiers = ["bold"] }
"markup.heading.2" = { fg = "gold", modifiers = ["bold"] }
"markup.heading.2" = { fg = "gold", modifiers = [
"bold",
], underline = { style = "line" } }
"markup.heading.3" = { fg = "yellow", modifiers = ["bold"] }
"markup.heading.4" = { fg = "green", modifiers = ["bold"] }
"markup.heading.5" = { fg = "blue", modifiers = ["bold"] }
"markup.heading.6" = { fg = "purple", modifiers = ["bold"] }
"markup.list" = { fg = "light-blue" }
"markup.list.unnumbered" = { fg = "light-blue" }
"markup.list.numbered" = { fg = "light-blue" }
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
"markup.link" = { fg = "light-blue" }
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"] }
"markup.link.text" = { fg = "light-blue" }
"markup.quote" = { fg = "grey" }
"markup.raw" = { fg = "brown" }
"markup.raw.inline" = { fg = "green" }
"markup.raw.block" = { fg = "grey" }
"diff.plus" = "green"
"diff.delta" = "gold"
"diff.minus" = "red"
"diff" = { fg = "red" }
"diff.plus" = { fg = "green" }
"diff.minus" = { fg = "red" }
"diff.delta" = { fg = "cyan" }
"diff.delta.moved" = { fg = "cyan" }
"diagnostic.info".underline = { color = "blue", style = "curl" }
"diagnostic.hint".underline = { color = "green", style = "curl" }
"diagnostic.warning".underline = { color = "yellow", style = "curl" }
"diagnostic.error".underline = { color = "red", style = "curl" }
"ui.background" = { bg = "white" }
"ui.background.separator" = { bg = "white" }
"ui.cursor" = { fg = "white", bg = "grey" }
"ui.cursor.normal" = { fg = "white", bg = "grey" }
"ui.cursor.insert" = { fg = "white", bg = "grey" }
"ui.cursor.select" = { fg = "white", bg = "grey" }
"ui.cursor.match" = { bg = "light-white", modifiers = ["bold"] }
"ui.cursor.primary" = { fg = "white", bg = "black" }
"ui.cursor.primary.normal" = { fg = "white", bg = "black" }
"ui.cursor.primary.insert" = { fg = "red", bg = "black" }
"ui.cursor.primary.select" = { fg = "white", bg = "black" }
"ui.gutter" = { fg = "grey-500" }
"ui.gutter.selected" = { fg = "black" }
"ui.linenr" = { fg = "grey-500" }
"ui.linenr.selected" = { fg = "black", modifiers = ["bold"] }
"ui.statusline" = { fg = "black", bg = "light-white" }
"ui.statusline.inactive" = { fg = "grey", bg = "grey-200" }
"ui.statusline.normal" = { fg = "light-white", bg = "light-blue" }
"ui.statusline.insert" = { fg = "light-white", bg = "green" }
"ui.statusline.select" = { fg = "light-white", bg = "purple" }
"ui.popup" = { fg = "black", bg = "grey-200" }
"ui.popup.info" = { fg = "black", bg = "grey-200" }
"ui.window" = { fg = "grey-500", bg = "grey-100" }
"ui.help" = { fg = "black", bg = "grey-200" }
"ui.text" = { fg = "black" }
"ui.text.focus" = { fg = "red", bg = "light-white", modifiers = ["bold"] }
"ui.text.inactive" = { fg = "grey" }
"ui.text.info" = { fg = "black" }
"ui.virtual" = { fg = "light-white" }
"ui.virtual.ruler" = { bg = "light-white" }
"ui.virtual.wrap" = { bg = "light-white" }
"ui.virtual.whitespace" = { fg = "light-white" }
"ui.virtual.indent-guide" = { fg = "grey-500" }
"ui.virtual.inlay-hint" = { fg = "grey" }
"ui.menu" = { fg = "black", bg = "light-white" }
"ui.menu.selected" = { fg = "white", bg = "light-blue" }
"ui.menu.scroll" = { fg = "light-blue", bg = "white" }
"ui.selection" = { bg = "light-white", modifiers = ["dim"] }
"ui.selection.primary" = { bg = "light-white" }
"ui.cursorline.primary" = { fg = "white", bg = "grey-100" }
"ui.cursorline.secondary" = { fg = "white", bg = "grey-200" }
"ui.cursorcolumn.primary" = { fg = "white", bg = "grey-100" }
"ui.cursorcolumn.secondary" = { fg = "white", bg = "grey-200" }
"ui.highlight" = { bg = "light-white" }
"diagnostic.info" = { underline = { color = "blue", style = "dotted" } }
"diagnostic.hint" = { underline = { color = "green", style = "dashed" } }
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
"info" = { fg = "blue", modifiers = ["bold"] }
"hint" = { fg = "green", modifiers = ["bold"] }
"warning" = { fg = "yellow", modifiers = ["bold"] }
"error" = { fg = "red", modifiers = ["bold"] }
"ui.background" = { bg = "white" }
"ui.cursor" = { fg = "white", bg = "gray" }
"ui.cursor.primary" = { fg = "white", bg = "black" }
"ui.cursor.match" = { bg = "light-gray" }
"ui.cursorline.primary" = { fg = "white", bg = "grey-100" }
# "ui.cursorline.secondary" = { fg = "white", bg = "grey-200" }
"ui.highlight" = { bg = "light-white" }
"ui.selection" = { bg = "light-white", modifiers = ["dim"] }
"ui.selection.primary" = { bg = "light-white" }
"ui.virtual" = { fg = "light-white" }
"ui.virtual.indent-guide" = { fg = "grey-500" }
"ui.virtual.ruler" = { bg = "light-white" }
"ui.virtual.whitespace" = { fg = "light-white" }
"ui.linenr" = { fg = "grey-500" }
"ui.linenr.selected" = { fg = "black", modifiers = ["dim"] }
"ui.statusline" = { fg = "black", bg = "light-white" }
"ui.statusline.inactive" = { fg = "gray", bg = "light-white" }
"ui.statusline.normal" = { fg = "light-white", bg = "light-blue" }
"ui.statusline.insert" = { fg = "light-white", bg = "green" }
"ui.statusline.select" = { fg = "light-white", bg = "purple" }
"ui.text" = { fg = "black" }
"ui.text.focus" = { fg = "red", bg = "light-white", modifiers = ["bold"] }
"ui.help" = { fg = "black", bg = "grey-200" }
"ui.popup" = { fg = "black", bg = "grey-200" }
"ui.window" = { fg = "black", bg = "light-white" }
"ui.menu" = { fg = "black", bg = "light-white" }
"ui.menu.selected" = { fg = "white", bg = "light-blue" }
[palette]
white = "#FAFAFA"
yellow = "#A06600"
blue = "#0061FF"
light-blue = "#1877F2"
red = "#DC003F"
purple = "#B500A9"
green = "#24A443"
yellow = "#FF6F00"
gold = "#D35400"
brown = "#4E342E"
blue = "#0061FF"
light-blue = "#0091EA"
red = "#D50000"
pink = "#C2185B"
purple = "#B500A9"
deep-purple = "#651FFF"
green = "#24A443"
cyan = "#0086C1"
black = "#282C34"
light-white = "#E3E3E3"
gray = "#5C6370"
grey = "#5C6370"
grey-100 = "#F3F3F3"
grey-200 = "#EDEDED"
grey-500 = "#9E9E9E"