feat(themes): improve fleetish (#4813)

Small adjustements to the fleetish theme to improve readability
in certain cases. Specifically:

- use darker background for menues as it (purely subjectively) loooks
  better
- use different color for `constant.buildin.boolean` and
  `keyword` to make statements such as `return true` read better
- use different colors for different markup link parts
- destructure the config where appliable
pull/1/head
Matouš Dzivjak 2 years ago committed by GitHub
parent f2a55331d0
commit 4e52d4d6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,101 +1,116 @@
# Author: Kristoffer Flottorp <kr.fl@outlook.com> # Author: Kristoffer Flottorp <kr.fl@outlook.com>
# A take on the JetBrains Fleet theme sprinkled with some creative freedom # A take on the JetBrains Fleet theme sprinkled with some creative freedom
"type" = { fg = "yellow" } # .builtin "type" = "light_blue"
"constructor" = { fg = "yellow" } "type.builtin" = "orange"
"constant" = { fg = "cyan" } "constructor" = "yellow"
"constant" = "cyan"
# "constant.builtin" = {} # .boolean # "constant.builtin" = {} # .boolean
"constant.builtin.boolean" = { fg = "cyan" } # .boolean "constant.builtin.boolean" = "yellow"
# "constant.character" = {} #.escape "constant.character" = "yellow"
"constant.numeric" = { fg = "yellow" } # .integer / .float "constant.characted.escape" = "light"
"string" = { fg = "pink" } # .regexp "constant.numeric" = "yellow"
# "string.special" = {} #.path / .url / .symbol "string" = "pink"
"string.special" = { modifiers = ["underlined"] } #.path / .url / .symbol "string.regexp" = "light"
"comment" = { fg = "dark_gray" } # .line "string.special" = { fg = "yellow", modifiers = ["underlined"] } #.path / .url / .symbol
"comment" = "light_gray" # .line
# "comment.block" = {} # .documentation # "comment.block" = {} # .documentation
"variable" = { fg = "light" } # .builtin / .parameter "variable" = "light" # .builtin
"variable.parameter" = "light"
# "variable.other" = {} # .member # "variable.other" = {} # .member
"variable.other.member" = { fg = "purple" } "variable.other.member" = "yellow"
"label" = { fg = "yellow" } "label" = "yellow"
# "punctuation" = {} # .delimiter / .bracket "punctuation" = "light" # .delimiter / .bracket
"keyword" = { fg = "cyan" } # .operator / .directive / .function "keyword" = "cyan" # .operator / .directive / .function
# "keyword.control" = { fg = "orange" } # .conditional / .repeat / .import / .return / .exception "keyword.control" = "yellow" # .conditional / .repeat / .import / .return / .exception
"operator" = { fg = "light" } "operator" = "light"
"function" = { fg = "blue" } # .builtin / .method / .macro / .special "function" = "yellow"
"function.macro" = { fg = "green" } "function.macro" = "green"
"function.special" = { fg = "green" } "function.builtin" = "green"
"tag" = { fg = "green"} "function.special" = "green"
"special" = { fg = "green" } "function.method" = "light"
"namespace" = { fg = "light" } "tag" = "green"
"markup" = { fg = "purple" } # .bold / .italic / .quote "special" = "green"
"markup.heading" = { fg = "light" } # .marker / .1 / .2 / .3 / .4 / .5 / .6 "namespace" = "light"
"markup.heading.1" = { fg = "yellow" }
"markup.heading.2" = { fg = "green" }
"markup.heading.3" = { fg = "pink" }
"markup.heading.4" = { fg = "purple" }
"markup.heading.5" = { fg = "cyan" }
"markup.heading.6" = { fg = "blue" }
"markup.list" = { fg = "cyan" } # .unnumbered / .numbered
"markup.link" = { fg = "green" } # .url / .label / .text
"markup.raw" = { fg = "pink" } # .inline / .block
# "diff" = {} # .plus / .minus
"diff.plus" = { fg = "cyan" }
"diff.minus" = { fg = "yellow" }
"diff.delta" = { fg = "purple" } # .moved
# used in theming # used in theming
# "markup.normal" = {} # .completion / .hover # "markup.normal" = {} # .completion / .hover
# "markup.heading" = {} # .completion / .hover
# "markup.raw.inline" = {} # .completion / .hover # "markup.raw.inline" = {} # .completion / .hover
"markup" = "purple" # .quote
"markup.bold" = { fg = "purple", modifiers = ["bold"] }
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
"markup.heading" = "light" # .marker
"markup.heading.1" = "yellow"
"markup.heading.2" = "green"
"markup.heading.3" = "pink"
"markup.heading.4" = "purple"
"markup.heading.5" = "cyan"
"markup.heading.6" = "light_blue"
"markup.list" = "cyan" # .unnumbered / .numbered
"markup.link" = "green"
"markup.link.url" = "pink"
"markup.link.text" = "cyan"
"markup.link.label" = "yellow"
"markup.raw" = "pink" # .inline
"markup.raw.block" = "orange"
"diff.plus" = "cyan"
"diff.minus" = "yellow"
"diff.delta" = "purple"
# ui specific # ui specific
"ui.background" = { bg = "darkest" } # .separator "ui.background" = { bg = "#0d0d0d" } # .separator
"ui.cursor" = { bg = "dark_gray", modifiers = ["reversed"] } # .insert / .select / .match / .primary "ui.cursor" = { bg = "dark_gray", modifiers = ["reversed"] } # .insert / .select / .match / .primary
"ui.cursor.match" = { fg = "light", bg = "blue_accent" } # .insert / .select / .match / .primary "ui.cursor.match" = { fg = "light", bg = "blue_accent" } # .insert / .select / .match / .primary
"ui.cursorline" = { bg = "darker" } "ui.cursorline" = { bg = "darker" }
"ui.linenr" = { fg = "dark_gray" } # .selected "ui.linenr" = "dark_gray"
"ui.linenr.selected" = { fg = "light_gray", bg = "darker" } "ui.linenr.selected" = { fg = "light_gray", bg = "darker" }
"ui.statusline" = { fg = "light", bg = "darker" } # .inactive / .normal / .insert / .select "ui.statusline" = { fg = "light", bg = "darker" } # .inactive / .normal / .insert / .select
"ui.statusline.inactive" = { fg = "dark", bg = "darker" } # .inactive / .normal / .insert / .select "ui.statusline.inactive" = { fg = "dark", bg = "darker" }
"ui.statusline.normal" = { fg = "lightest", bg = "darker"} # .inactive / .normal / .insert / .select "ui.statusline.normal" = { fg = "lightest", bg = "darker"}
"ui.statusline.insert" = { fg = "lightest", bg = "blue_accent" } # .inactive / .normal / .insert / .select "ui.statusline.insert" = { fg = "lightest", bg = "blue_accent" }
"ui.statusline.select" = { fg = "lightest", bg = "orange_accent" } # .inactive / .normal / .insert / .select "ui.statusline.select" = { fg = "lightest", bg = "orange_accent" }
"ui.popup" = { fg = "light", bg = "dark" } # .info "ui.popup" = { fg = "light", bg = "darkest" } # .info
"ui.window" = { fg = "dark", bg = "darkest" } "ui.window" = { fg = "dark", bg = "darkest" }
"ui.help" = { fg = "light", bg = "dark" } "ui.help" = { fg = "light", bg = "darkest" }
"ui.text" = { fg = "light" } # .focus / .info "ui.text" = "light" # .focus / .info
"ui.virtual" = { fg = "dark" } # .ruler / .whitespace "ui.virtual" = "dark" # .whitespace
"ui.virtual.ruler" = { bg = "darker"} "ui.virtual.ruler" = { bg = "darker"}
"ui.menu" = { fg = "light", bg = "dark" } # .selected "ui.menu" = { fg = "light", bg = "darker" } # .selected
"ui.menu.selected" = { fg = "lightest", bg = "blue_accent" } # .selected "ui.menu.selected" = { fg = "lightest", bg = "blue_accent" } # .selected
"ui.selection" = { bg = "darker" } # .primary "ui.selection" = { bg = "darker" } # .primary
"ui.selection.primary" = { bg = "select" } # .primary "ui.selection.primary" = { bg = "select" } # .primary
"hint" = { fg = "blue_accent"} "hint" = "blue"
"info" = { fg = "yellow_accent" } "info" = "yellow_accent"
"warning" = { fg = "orange_accent" } "warning" = "orange_accent"
"error" = { fg = "diff_red_accent" } "error" = "red"
"diagnostic". underline = { style = "curl" } "diagnostic" = { modifiers = [] }
"diagnostic.hint" = { underline = { color = "light", style = "curl" } }
"diagnostic.info" = { underline = { color = "blue", style = "curl" } }
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
"diagnostic.error" = { underline = { color = "red", style = "curl" } }
[palette] [palette]
darkest = "#0F0F0F" darkest = "#1e1e1e"
darker = "#222222" darker = "#262626"
dark = "#383838" dark = "#898989"
select = "#102F5B" select = "#102f5b"
light = "#F0F0F0" light = "#d6d6dd"
lightest = "#FFFFFF" lightest = "#ffffff"
dark_gray = "#5B5B5B" dark_gray = "#535353"
light_gray = "#757575" light_gray = "#6d6d6d"
purple = "#AC9CF9" purple = "#a390f0"
blue = "#52A7F6" #"#94C1FA" light_blue = "#7dbeff"
pink = "#D898D8" blue = "#52a7f6"
green = "#AFCB85" pink = "#d898d8"
cyan = "#78D0BD" green = "#afcb85"
orange = "#ECA775" cyan = "#78d0bd"
yellow = "#E5C995" orange = "#efb080"
yellow = "#e5c995"
red = "#f44747"
purple_accent = "#6363EE"
blue_accent = "#2197F3" blue_accent = "#2197F3"
pink_accent = "#E44C7A" pink_accent = "#E44C7A"
green_accent = "#00AF99" green_accent = "#00AF99"
@ -104,11 +119,3 @@ yellow_accent = "#DEA407"
# variables intended for future updates # variables intended for future updates
checkmark = "#44B254" checkmark = "#44B254"
diff_blue_accent = "#0079FF"
diff_blue_bg = "#072037"
diff_blue_fg = "#0079FF"
diff_red_accent = "#EE113C"
diff_red_bg = "#390B14"
diff_red_fg = "#EC123B"

Loading…
Cancel
Save