diff options
author | Ambuj Singh | 2023-11-12 22:04:36 +0000 |
---|---|---|
committer | GitHub | 2023-11-12 22:04:36 +0000 |
commit | 23fea46815371a8e1a0fa340be34d80624cd9bcc (patch) | |
tree | fe14dfa5aff51564911b5035c1a5cbb24f41821b /runtime | |
parent | 172ef2fa9f2322b3a82729c584ede6cb84879b91 (diff) |
theme: Add Theme poimandres (#8759)
* theme: Add Theme poimandres
* theme: inherit `poimandres_storm` from `poimandres` with minor tweaks
* fix(theme): rename `crossed-out` to `crossed_out`
* fix(theme:poimandres): improve contrast of selection color for regular variant
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/themes/poimandres.toml | 113 | ||||
-rw-r--r-- | runtime/themes/poimandres_storm.toml | 19 |
2 files changed, 132 insertions, 0 deletions
diff --git a/runtime/themes/poimandres.toml b/runtime/themes/poimandres.toml new file mode 100644 index 00000000..5dbc799d --- /dev/null +++ b/runtime/themes/poimandres.toml @@ -0,0 +1,113 @@ +# Author: Ambuj Kumar <ambujs89@gmail.com> +# Ported from: https://github.com/drcmda/poimandres-theme + +attribute = { fg = "desaturatedBlue", modifiers = ["italic"] } +keyword = "brightMint" +"keyword.directive" = "gray" +"keyword.storage.type" = "desaturatedBlue" +"keyword.storage.modifier" = "lowerMint" +"keyword.other" = "brightMint" +"keyword.operator" = "desaturatedBlue" +namespace = "lightBlue" +punctuation = "gray" +"punctuation.bracket" = "desaturatedBlue" +operator = "desaturatedBlue" +special = "desaturatedBlue" +variable = "offWhite" +"variable.parameter" = { fg = "offWhite" } +"variable.builtin" = { fg = "lightBlue", modifiers = ["italic"] } +"variable.other" = "offWhite" +type = { fg = "gray.c0" } +"type.builtin" = { fg = "desaturatedBlue" } +constructor = "lightBlue" +function = "lightBlue" +"function.method" = { fg = "lightBlue" } +tag = "brightMint" +comment = { fg = "darkerGray.b0", modifiers = ["italic"] } +constant = "brightMint" +"constant.character.escape" = { fg = "offWhite" } +"constant.numeric" = { fg = "brightMint" } +"constant.builtin" = { fg = "hotRed" } +label = { fg = "gray.c0" } +string = { fg = "brightMint" } + +# Markup +"markup.heading" = { fg = "brightMint" } +"markup.bold" = { fg = "bluishGrayBrighter", modifiers = ["bold"] } +"markup.italic" = { fg = "bluishGrayBrighter", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["italic", "crossed_out"] } + +# UI +"markup.link.url" = { fg = "lightBlue", modifiers = ["underlined"] } +"markup.link.text" = { fg = "lightBlue", modifiers = ["underlined"] } +"markup.raw" = { fg = "lightBlue" } + +"ui.background" = { bg = "bg" } +"ui.background.separator" = { fg = "darkerGray" } +"ui.linenr" = "darkerGray.50" +"ui.linenr.selected" = "offWhite" +"ui.cursor" = { bg = "gray", fg = "bg" } +"ui.cursor.match" = { bg = "focus" } +"ui.cursorline" = { bg = "#242837" } + +"ui.popup" = { bg = "#20232d" } +"ui.window" = "gray" + +"ui.text" = "gray" +"ui.text.focus" = { fg = "offWhite", bg = "focus", modifiers = ["bold"] } +"ui.text.inactive" = "darkerGray" +"ui.virtual" = { fg = "darkerGray.b0" } +"ui.virtual.indent-guide" = "#303442" + +"ui.selection" = { bg = "focus" } +"ui.selection.primary" = { bg = "selection" } + +"ui.menu" = { fg = "offWhite", bg = "bg" } +"ui.menu.selected" = { fg = "bg", bg = "gray" } +"ui.menu.scroll" = { fg = "gray", bg = "bg" } + +"ui.statusline" = { fg = "offWhite", bg = "selection" } +"ui.statusline.inactive" = { fg = "lightBlue", bg = "bg" } +"ui.statusline.normal" = { bg = "lightBlue", fg = "bg", modifiers = ["bold"] } +"ui.statusline.insert" = { bg = "brightMint", fg = "bg", modifiers = ["bold"] } +"ui.statusline.select" = { bg = "hotRed", fg = "bg", modifiers = ["bold"] } + +"diagnostic.hint" = { underline = { color = "lowerMint", style = "curl" } } +"diagnostic.info" = { underline = { color = "lightBlue", style = "curl" } } +"diagnostic.warning" = { underline = { color = "brightYellow", style = "curl" } } +"diagnostic.error" = { underline = { color = "hotRed", style = "curl" } } + +hint = "lowerMint" +info = "lightBlue" +warning = "brightYellow" +error = "hotRed" + +# Version Control +"diff.plus" = "lowerMint" +"diff.minus" = "hotRed" +"diff.delta" = "lightBlue" + +[palette] +brightYellow = "#fffac2" +brightMint = "#5DE4c7" +lowerMint = "#5fb3a1" +blueishGreen = "#42675A" +lowerBlue = "#89ddff" +lightBlue = "#ADD7FF" +desaturatedBlue = "#91B4D5" +bluishGrayBrighter = "#7390AA" +hotRed = "#d0679d" +pink = "#f087bd" +gray = "#a6accd" +"gray.c0" = "#98a0c2" +darkerGray = "#767c9d" +"darkerGray.50" = "#404559" +"darkerGray.b0" = "#6c7494" +bluishGray = "#506477" +focus = "#303340" +bg = "#1b1e28" +offWhite = "#e4f0fb" +selection = "#30354a" +white = "#ffffff" +black = "#000000" +transparent = "#00000000" diff --git a/runtime/themes/poimandres_storm.toml b/runtime/themes/poimandres_storm.toml new file mode 100644 index 00000000..12312207 --- /dev/null +++ b/runtime/themes/poimandres_storm.toml @@ -0,0 +1,19 @@ +# Author: Ambuj Kumar <ambujs89@gmail.com> +# Ported from: https://github.com/drcmda/poimandres-theme + +inherits = "poimandres" + +"ui.cursorline" = { bg = "#303747" } +"ui.popup" = { bg = "#2a303c" } +"ui.virtual.indent-guide" = "#3a4151" + +[palette] +"gray.c0" = "#98a2c4" +darkerGray = "#868cad" +"darkerGray.50" = "#4f576d" +"darkerGray.b0" = "#818cae" +bluishGray = "#607487" +focus = "#404350" +bg = "#252b37" +selection = "#3d455c" +black = "#101010" |