Skip to content

Commit

Permalink
Autumn theme: use new features (helix-editor#5051)
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
  • Loading branch information
2 people authored and Shekhinah Memmel committed Dec 11, 2022
1 parent ef82f04 commit acf2bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 62 deletions.
3 changes: 2 additions & 1 deletion runtime/themes/autumn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@
"markup.raw" = "my_green"

"diff.plus" = "my_green"
"diff.delta" = "my_white"
"diff.delta" = "my_gray4"
"diff.minus" = "my_red"

"diagnostic" = { modifiers = ["underlined"] }
"diagnostic.error" = { underline = { style = "curl", color = "my_red" } }
"ui.gutter" = { bg = "my_gray0" }
"hint" = "my_gray5"
"debug" = "my_yellow2"
Expand Down
62 changes: 1 addition & 61 deletions runtime/themes/autumn_night.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,67 +7,7 @@
# 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_gray5" }
"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_gray6", bg = "my_gray0"}
"ui.selection" = { bg = "my_gray3" }
"comment" = { fg = "my_gray4", modifiers = ["italic"] }
"ui.cursorline" = { bg = "my_gray3" }
"ui.statusline" = { fg = "my_gray6", bg = "my_gray2" }
"ui.statusline.inactive" = { fg = 'my_gray4', bg = 'my_gray2' }
"ui.statusline.insert" = {fg = "my_black", bg = "my_gray5", modifiers = ["bold"]}
"ui.statusline.normal" = {fg = "my_gray6", bg = "my_gray2"}
"ui.statusline.select" = {fg = "my_gray6", bg = "my_black", modifiers = ["bold"]}
"ui.cursor" = { fg = "my_gray5", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "my_white", modifiers = ["reversed"] }
"ui.cursorline.primary" = { bg = "my_black" }
"ui.cursorline.secondary" = { bg = "my_black" }
"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_gray6", bg = "my_gray2" }
"ui.virtual.whitespace" = { fg = "my_gray5" }
"ui.virtual.ruler" = { bg = "my_gray1" }

"markup.heading" = "my_yellow1"
"markup.list" = "my_white2"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"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_white"
"diff.minus" = "my_red"

"diagnostic" = { modifiers = ["underlined"] }
"ui.gutter" = { bg = "my_gray0" }
"hint" = "my_gray5"
"debug" = "my_yellow2"
"info" = "my_yellow2"
"warning" = "my_yellow2"
"error" = "my_red"
inherits = "autumn"

[palette]
my_black = "#111111" # Cursorline
Expand Down

0 comments on commit acf2bc9

Please sign in to comment.