From 668b8fd0e4c8a6b7cc338ab0216c313830e356e8 Mon Sep 17 00:00:00 2001 From: Jens Getreu Date: Thu, 21 Apr 2022 16:56:10 +0200 Subject: [PATCH 1/2] Add `autumn` theme --- runtime/themes/autumn.toml | 80 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 runtime/themes/autumn.toml diff --git a/runtime/themes/autumn.toml b/runtime/themes/autumn.toml new file mode 100644 index 000000000000..f8cc44f64624 --- /dev/null +++ b/runtime/themes/autumn.toml @@ -0,0 +1,80 @@ +# The structure based on `base16_default_dark` by Ray Gervais. +# Most of the colors are based on Autumn: +# Autumn is a color scheme inspired by the colors you can find in the +# autumn. Originally it was written as a color scheme for the Komodo IDE +# but was ported to Vim by Kenneth Love and Chris Jones. Later Yorick +# Peterse improved their work. +# +# Jens Getreu finally ported and optimised the color theme to the Helix editor. +# Author : Jens Getreu + +"ui.background" = { bg = "my_gray1" } +"ui.menu" = { fg = "my_white", bg = "my_gray2" } +"ui.menu.selected" = { fg = "my_gray2", bg = "my_gray5" } +"ui.linenr" = { fg = "my_gray4", bg = "my_gray2" } +"ui.popup" = { bg = "my_gray2" } +"ui.window" = { bg = "my_gray2" } +"ui.linenr.selected" = { fg = "my_gray5", bg = "my_gray2", modifiers = ["bold"] } +"ui.selection" = { bg = "my_gray3" } +"comment" = { fg = "my_gray4", modifiers = ["italic"] } +"ui.statusline" = { fg = "my_gray5", bg = "my_gray2" } +"ui.help" = { fg = "my_gray5", bg = "my_gray2" } +"ui.cursor" = { fg = "my_gray5", modifiers = ["reversed"] } +"ui.cursor.primary" = { fg = "my_white", modifiers = ["reversed"] } +"ui.text" = "my_white" +"operator" = "my_white" +"ui.text.focus" = "my_white" +"variable" = "my_white3" +"constant.numeric" = "my_turquoise" +"constant" = "my_white3" +"attributes" = "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_yellow" +"constructor" = "my_yellow" +"special" = "my_yellow" +"keyword" = "my_red" +"label" = "my_red" +"namespace" = "my_white3" +"ui.help" = { fg = "my_gray6", bg = "my_gray2" } + +"markup.heading" = "my_yellow" +"markup.list" = "my_white2" +"markup.bold" = { fg = "my_white3", modifiers = ["bold"] } +"markup.italic" = { fg = "my_white3", modifiers = ["italic"] } +"markup.link.url" = { fg = "my_green", modifiers = ["underlined"] } +"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_gray2" } +"info" = "my_yellow" +"hint" = "my_gray4" +"debug" = "my_gray4" +"warning" = "my_yellow" +"error" = "my_red" + +[palette] +my_gray1 = "#292929" # Default Background +my_gray2 = "#3a3a3a" # Lighter Background (Used for status bars, line number and folding marks) +my_gray3 = "#525252" # Selection Background +my_gray4 = "#7c7c7c" # Comments, Invisibles, Line Highlighting +my_gray5 = "#aaaaaa" # Dark Foreground (Used for status bars) +my_white = "#F3F2CC" # Default Foreground, Caret, Delimiters, Operators +my_gray6 = "#e8e8e8" # Light Foreground (Not often used) +my_gray7 = "#f8f8f8" # Light Background (Not often used) +my_white2 = "#F3F2CC" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted +my_turquoise = "#86c1b9" # Support, Regular Expressions, Escape Characters, Markup Quotes +my_white3 = "#F3F2CC" # Classes, Markup Bold, Search Text Background +my_green = "#8daf67" # Strings, Inherited Class, Markup Code, Diff Inserted +my_brown = "#cfba8b" # Member variables +my_yellow = "#FAD566" # Functions, Methods, Attribute IDs, Headings +my_red = "#F05E48" # Keywords, Storage, Selector, Markup Italic, Diff Changed From 9894e182213698ed252358470c4d1db142aaaa31 Mon Sep 17 00:00:00 2001 From: Jens Getreu Date: Fri, 22 Apr 2022 05:38:04 +0200 Subject: [PATCH 2/2] Add ruler and whitespace colors to theme Autumn --- runtime/themes/autumn.toml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/runtime/themes/autumn.toml b/runtime/themes/autumn.toml index f8cc44f64624..fcad5003dbfd 100644 --- a/runtime/themes/autumn.toml +++ b/runtime/themes/autumn.toml @@ -1,14 +1,13 @@ -# The structure based on `base16_default_dark` by Ray Gervais. -# Most of the colors are based on Autumn: -# Autumn is a color scheme inspired by the colors you can find in the -# autumn. Originally it was written as a color scheme for the Komodo IDE -# but was ported to Vim by Kenneth Love and Chris Jones. Later Yorick -# Peterse improved their work. -# -# Jens Getreu finally ported and optimised the color theme to the Helix editor. -# Author : Jens Getreu +# The structure is based on `base16_default_dark` by Ray Gervais. Most of +# the colors come the so called Autumn theme, a color scheme inspired by +# the colors you can find in 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: +# +# Jens Getreu finally ported and optimised the color theme for the Helix editor. +# Author: Jens Getreu -"ui.background" = { bg = "my_gray1" } +"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_gray4", bg = "my_gray2" } @@ -40,6 +39,8 @@ "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_yellow" "markup.list" = "my_white2" @@ -63,7 +64,8 @@ "error" = "my_red" [palette] -my_gray1 = "#292929" # Default Background +my_gray0 = "#292929" # Default Background +my_gray1 = "#2e2e2e" # Ruler my_gray2 = "#3a3a3a" # Lighter Background (Used for status bars, line number and folding marks) my_gray3 = "#525252" # Selection Background my_gray4 = "#7c7c7c" # Comments, Invisibles, Line Highlighting