Skip to content

Commit

Permalink
Make dark_plus.toml more accurate to VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
saccarosium authored Nov 4, 2023
1 parent 10b178e commit 32598d7
Showing 1 changed file with 103 additions and 134 deletions.
237 changes: 103 additions & 134 deletions runtime/themes/dark_plus.toml
Original file line number Diff line number Diff line change
@@ -1,138 +1,107 @@
# Author: Shafkath Shuhan <[email protected]>

"namespace" = { fg = "type" }
"module" = { fg = "type" }

"type" = { fg = "type" }
"type.builtin" = { fg = "type" }
"type.enum.variant" = { fg = "constant" }
"constructor" = { fg = "type" }
"variable.other.member" = { fg = "variable" }

"keyword" = { fg = "blue2" }
"keyword.directive" = { fg = "blue2" }
"keyword.control" = { fg = "special" }
"label" = { fg = "blue2" }
"tag" = "blue2"

"special" = { fg = "text" }
"operator" = { fg = "text" }

"punctuation" = { fg = "text" }
"punctuation.delimiter" = { fg = "text" }

"variable" = { fg = "variable" }
"variable.parameter" = { fg = "variable" }
"variable.builtin" = { fg = "blue2" }
"constant" = { fg = "constant" }
"constant.builtin" = { fg = "blue2" }

"function" = { fg = "fn_declaration" }
"function.builtin" = { fg = "fn_declaration" }
"function.macro" = { fg = "blue2" }
"attribute" = { fg = "fn_declaration" }

"comment" = { fg = "dark_green" }

"string" = { fg = "orange" }
"constant.character" = { fg = "orange" }
"string.regexp" = { fg = "gold" }
"constant.numeric" = { fg = "pale_green" }
"constant.character.escape" = { fg = "gold" }

"markup.heading" = { fg = "blue2", modifiers = ["bold"] }
"markup.list" = "blue3"
"markup.bold" = { fg = "blue2", modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
# Author: Luca Saccarola <[email protected]>

# SYNTAX
"attribute" = "Yellow"
"comment" = "Green"
"constant" = "AccentBlue"
"constant.builtin" = "Blue"
"constant.character" = "Orange"
"constant.character.escape" = "YellowOrange"
"constant.numeric" = "LightGreen"
"constructor" = "BlueGreen"
"diagnostic".underline = { color = "Yellow", style = "curl" }
"diagnostic.error".underline = { color = "Red", style = "curl" }
"diff.delta" = "DiffBlue"
"diff.minus" = "DiffRed"
"diff.plus" = "DiffGreen"
"error" = "Red"
"function" = "Yellow"
"hint" = "Blue"
"info" = "Blue"
"keyword" = "Pink"
"label" = "Blue"
"module" = "BlueGreen"
"namespace" = "BlueGreen"
"operator" = "Front"
"punctuation" = "Front"
"punctuation.delimiter" = "Front"
"special" = "YellowOrange"
"string" = "Orange"
"string.regexp" = "YellowOrange"
"tag" = "Front"
"type" = "BlueGreen"
"type.builtin" = "Blue"
"type.enum" = "AccentBlue"
"variable" = "LightBlue"
"variable.builtin" = "Blue"
"warning" = "Yellow"

# MARKUP
"markup.bold" = { modifiers = ["bold"] }
"markup.heading" = { fg = "Blue", modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.link.text" = "Orange"
"markup.link.url" = { modifiers = ["underlined"] }
"markup.list" = "Blue"
"markup.quote" = "Green"
"markup.raw" = "Orange"
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"markup.link.url" = { modifiers = ["underlined"] }
"markup.link.text" = "orange"
"markup.quote" = "dark_green"
"markup.raw" = "orange"

"diff.plus" = { fg = "dark_green2" }
"diff.delta" = { fg = "blue4" }
"diff.minus" = { fg = "orange_red" }

"ui.background" = { fg = "light_gray", bg = "dark_gray2" }

"ui.window" = { bg = "widget" }
"ui.popup" = { fg = "text", bg = "widget" }
"ui.help" = { fg = "text", bg = "widget" }
"ui.menu" = { fg = "text", bg = "widget" }
"ui.menu.selected" = { bg = "dark_blue2" }

# TODO: Alternate bg colour for `ui.cursor.match` and `ui.selection`.
"ui.cursor" = { fg = "cursor", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "cursor", modifiers = ["reversed"] }
"ui.cursor.match" = { bg = "#3a3d41", modifiers = ["underlined"] }

"ui.selection" = { bg = "#3a3d41" }
"ui.selection.primary" = { bg = "dark_blue" }

"ui.linenr" = { fg = "dark_gray" }
"ui.linenr.selected" = { fg = "light_gray2" }

"ui.cursorline.primary" = { bg = "dark_gray3" }
"ui.statusline" = { fg = "white", bg = "blue" }
"ui.statusline.inactive" = { fg = "white", bg = "blue" }
"ui.statusline.insert" = { fg = "white", bg = "yellow" }
"ui.statusline.select" = { fg = "white", bg = "magenta" }

"ui.bufferline" = { fg = "text", bg = "widget" }
"ui.bufferline.active" = { fg = "white", bg = "blue" }
"ui.bufferline.background" = { bg = "background" }

"ui.text" = { fg = "text" }
"ui.text.focus" = { fg = "white" }

"ui.virtual.whitespace" = { fg = "dark_gray" }
"ui.virtual.ruler" = { bg = "borders" }
"ui.virtual.indent-guide" = { fg = "dark_gray4" }
"ui.virtual.inlay-hint" = { fg = "dark_gray5"}

"warning" = { fg = "gold2" }
"error" = { fg = "red" }
"info" = { fg = "light_blue" }
"hint" = { fg = "light_gray3" }

"diagnostic.error".underline = { color = "red", style = "curl" }
"diagnostic".underline = { color = "gold", style = "curl" }
# UI
"ui.background" = { fg = "Unfocused", bg = "Back" }
"ui.bufferline" = { fg = "Unfocused", bg = "Back" }
"ui.bufferline.active" = { fg = "Front", bg = "Back", modifiers = ["underlined"]}
"ui.bufferline.background" = { bg = "Back" }
"ui.cursor" = { fg = "Cursor", modifiers = ["reversed"] }
"ui.cursor.match" = { bg = "CursorMatch", modifiers = ["underlined"] }
"ui.cursor.primary" = { bg = "Cursor", modifiers = ["reversed"] }
"ui.cursorline.primary" = { bg = "Cursorline" }
"ui.help" = { fg = "Front", bg = "PopupBack" }
"ui.linenr" = "Unfocused"
"ui.linenr.selected" = "Front"
"ui.menu" = { fg = "Front", bg = "PopupBack" }
"ui.menu.selected" = { bg = "Selection" }
"ui.popup" = { fg = "Front", bg = "PopupBack" }
"ui.selection" = { bg = "Selection" }
"ui.selection.primary" = { bg = "Selection" }
"ui.statusline" = { fg = "Front", bg = "StatusLine" }
"ui.statusline.inactive" = { fg = "Front", bg = "StatusLineNC" }
"ui.text" = "Front"
"ui.text.focus" = "Front"
"ui.virtual.indent-guide" = "Unfocused"
"ui.virtual.inlay-hint" = "Green"
"ui.virtual.ruler" = { bg = "Unfocused" }
"ui.virtual.whitespace" = "WhiteSpace"
"ui.window" = { bg = "PopupBack" }

[palette]
white = "#ffffff"
orange = "#ce9178"
gold = "#d7ba7d"
gold2 = "#cca700"
pale_green = "#b5cea8"
dark_green = "#6A9955"
dark_green2 = "#487e02"
light_gray = "#d4d4d4"
light_gray2 = "#c6c6c6"
light_gray3 = "#eeeeee"
dark_gray = "#858585"
dark_gray2 = "#1e1e1e"
dark_gray3 = "#282828"
dark_gray4 = "#404040"
dark_gray5 = "#8b949e"
blue = "#007acc"
blue2 = "#569CD6"
blue3 = "#6796E6"
blue4 = "#1b81a8"
light_blue = "#75beff"
dark_blue = "#264f78"
dark_blue2 = "#094771"
red = "#ff1212"
orange_red = "#f14c4c"

type = "#4EC9B0"
special = "#C586C0"
variable = "#9CDCFE"
fn_declaration = "#DCDCAA"
constant = "#4FC1FF"

background = "#1e1e1e"
text = "#d4d4d4"
cursor = "#a6a6a6"
widget = "#252526"
borders = "#323232"
Front = '#D4D4D4'
Back = '#1E1E1E'
Blue = '#569CD6'
Unfocused = '#5A5A5A'
AccentBlue = '#4FC1FE'
MediumBlue = '#18A2FE'
LightBlue = '#9CDCFE'
BlueGreen = '#4EC9B0'
Green = '#6A9955'
LightGreen = '#B5CEA8'
Red = '#F44747'
Orange = '#CE9178'
YellowOrange = '#D7BA7D'
Yellow = '#DCDCAA'
Pink = '#C586C0'
DiffRed = '#6F1313'
DiffGreen = '#4B5632'
DiffLightBlue = '#87d7ff'
DiffBlue = '#005f87'
SearchCurrent = '#515c6a'
Search = '#613315'
PopupFront = '#BBBBBB'
PopupBack = '#2D2D30'
Selection = '#264F78'
Cursor = '#A6A6A6'
WhiteSpace = '#4D4D4D'
CursorMatch = '#3a3d41'
StatusLine = '#373737'
StatusLineNC = '#252526'
Cursorline = '#222222'

0 comments on commit 32598d7

Please sign in to comment.