helix-mods/runtime/themes/autumn.toml
Filip Dutescu d59b80514e
feat(debug): highlight current line (#5957)
Add new theme highlight keys, for setting the colour of the breakpoint
character and the current line at which execution has been paused at.
The two new keys are `ui.highlight.frameline` and `ui.debug.breakpoint`.
Highlight according to those keys, both the line at which debugging
is paused at and the breakpoint indicator.

Add an indicator for the current line at which execution is paused
at, themed by the `ui.debug.active` theme scope. Update various themes
to showcase how the new functionality works.

Better icons are dependent on #2869, and as such will be handled in the
future, once it lands.

Closes: #5952

Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
2023-03-29 12:52:19 +09:00

99 lines
4.4 KiB
TOML

# The structure is based on `base16_default_dark` by Ray Gervais. Most of
# the colors come from the so called Autumn theme, a color scheme inspired by
# the colors you can find in the autumn. Originally it was designed as a
# color scheme for the Komodo IDE and then ported to Vim by Kenneth Love
# and Chris Jones. Later, Yorick Peterse improved their work. See:
# <https://github.com/YorickPeterse/Autumn.vim>
# Jens Getreu ported and optimised the color theme for the Helix editor.
# Author: Jens Getreu <getreu at web.de>
"ui.background" = { bg = "my_gray0" }
"ui.menu" = { fg = "my_white", bg = "my_gray2" }
"ui.menu.selected" = { fg = "my_gray2", bg = "my_gray6" }
"ui.linenr" = { fg = "my_gray3", bg = "my_gray0" }
"ui.popup" = { bg = "my_gray2" }
"ui.window" = { fg = "my_gray3", bg = "my_gray2" }
"ui.linenr.selected" = { fg = "my_gray7", bg = "my_gray0"}
"ui.selection" = { bg = "my_gray3" }
"comment" = { fg = "my_gray5", modifiers = ["italic"] }
"ui.cursorline" = { bg = "my_gray3" }
"ui.statusline" = { fg = "my_gray7", bg = "my_gray2" }
"ui.statusline.inactive" = { fg = 'my_gray5', bg = 'my_gray2' }
"ui.statusline.insert" = {fg = "my_black", bg = "my_gray6", modifiers = ["bold"]}
"ui.statusline.normal" = {fg = "my_gray7", bg = "my_gray2"}
"ui.statusline.select" = {fg = "my_gray7", bg = "my_black", modifiers = ["bold"]}
"ui.cursor" = { fg = "my_gray6", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "my_white", modifiers = ["reversed"] }
"ui.cursorline.primary" = { bg = "my_black" }
"ui.cursorline.secondary" = { bg = "my_black" }
"ui.highlight.frameline" = { bg = "#8b6904" }
"ui.debug" = { fg = "my_yellow1", bg = "my_gray0" }
"ui.text" = "my_white"
"operator" = "my_white"
"ui.text.focus" = "my_white"
"variable" = "my_white3"
"constant.numeric" = "my_turquoise"
"constant" = "my_white3"
"attribute" = "my_turquoise"
"type" = { fg = "my_white3", modifiers = ["italic"] }
"ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] }
"string" = "my_green"
"variable.other.member" = "my_brown"
"constant.character.escape" = "my_turquoise"
"function" = "my_yellow1"
"constructor" = "my_yellow1"
"special" = "my_yellow1"
"keyword" = "my_red"
"label" = "my_red"
"namespace" = "my_white3"
"ui.help" = { fg = "my_gray7", bg = "my_gray2" }
"ui.virtual.whitespace" = { fg = "my_gray6" }
"ui.virtual.ruler" = { bg = "my_gray1" }
"ui.virtual.inlay-hint" = { fg = "my_gray4", modifiers = ["normal"] }
"ui.virtual.inlay-hint.parameter" = { fg = "my_gray4", modifiers = ["normal"] }
"ui.virtual.inlay-hint.type" = { fg = "my_gray4", modifiers = ["italic"] }
"markup.heading" = "my_yellow1"
"markup.list" = "my_white2"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"markup.link.url" = "my_turquoise2"
"markup.link.text" = "my_white2"
"markup.quote" = "my_brown"
"markup.raw" = "my_green"
"diff.plus" = "my_green"
"diff.delta" = "my_gray5"
"diff.minus" = "my_red"
"diagnostic" = { modifiers = ["underlined"] }
"diagnostic.error" = { underline = { style = "curl", color = "my_red" } }
"ui.gutter" = { bg = "my_gray0" }
"hint" = "my_gray6"
"debug" = "my_yellow2"
"info" = "my_yellow2"
"warning" = "my_yellow2"
"error" = "my_red"
[palette]
my_black = "#212121" # Cursorline
my_gray0 = "#262626" # Default Background
my_gray1 = "#2b2b2b" # Ruler
my_gray2 = "#323232" # Lighter Background (Used for status bars, line number and folding marks)
my_gray3 = "#404040" # Selection Background
my_gray4 = "#6a6a6a" # Inlay-hint
my_gray5 = "#848484" # Comments, Invisibles, Line Highlighting
my_gray6 = "#a8a8a8" # Dark Foreground (Used for status bars)
my_gray7 = "#c8c8c8" # Light Foreground
my_gray8 = "#e8e8e8" # Light Background
my_white = "#F3F2CC" # Default Foreground, Caret, Delimiters, Operators
my_white2 = "#F3F2CC" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
my_white3 = "#F3F2CC" # Classes, Markup Bold, Search Text Background
my_turquoise = "#86c1b9" # Support, Regular Expressions, Escape Characters
my_turquoise2 = "#72a59e" # URL
my_green = "#99be70" # Strings, Inherited Class, Markup Code, Diff Inserted
my_brown = "#cfba8b" # Member variables, Quotes
my_yellow1 = "#FAD566" # Functions, Methods, Attribute IDs, Headings
my_yellow2 = "#ffff9f" # Debug, Info
my_red = "#F05E48" # Keywords, Storage, Selector, Diff Changed