From d9727868dd7a496d33a321faeacfcd02d8c1c06e Mon Sep 17 00:00:00 2001 From: NNB Date: Thu, 2 Dec 2021 19:33:31 +0700 Subject: change to .unwrap_or_default() and fix ui.window and ui.statusline --- runtime/themes/base16_default_dark.toml | 4 +--- runtime/themes/base16_default_light.toml | 4 +--- runtime/themes/base16_tty.toml | 17 ++++++----------- 3 files changed, 8 insertions(+), 17 deletions(-) (limited to 'runtime') diff --git a/runtime/themes/base16_default_dark.toml b/runtime/themes/base16_default_dark.toml index 3472162b..0b12bdbc 100644 --- a/runtime/themes/base16_default_dark.toml +++ b/runtime/themes/base16_default_dark.toml @@ -2,7 +2,7 @@ "ui.background" = { bg = "base00" } "ui.menu" = "base01" -"ui.menu.selected" = { fg = "base04", bg = "base01" } +"ui.menu.selected" = { fg = "base01", bg = "base04" } "ui.linenr" = { fg = "base03", bg = "base01" } "ui.popup" = { bg = "base01" } "ui.window" = { bg = "base01" } @@ -31,8 +31,6 @@ "keyword" = "base0E" "label" = "base0E" "namespace" = "base0E" -"ui.popup" = { bg = "base01" } -"ui.window" = { bg = "base00" } "ui.help" = { fg = "base06", bg = "base01" } "info" = "base03" diff --git a/runtime/themes/base16_default_light.toml b/runtime/themes/base16_default_light.toml index d864fd5f..144144d1 100644 --- a/runtime/themes/base16_default_light.toml +++ b/runtime/themes/base16_default_light.toml @@ -2,7 +2,7 @@ "ui.background" = { bg = "base00" } "ui.menu" = "base01" -"ui.menu.selected" = { fg = "base04", bg = "base01" } +"ui.menu.selected" = { fg = "base01", bg = "base04" } "ui.linenr" = { fg = "base03", bg = "base01" } "ui.popup" = { bg = "base01" } "ui.window" = { bg = "base01" } @@ -31,8 +31,6 @@ "keyword" = "base0E" "label" = "base0E" "namespace" = "base0E" -"ui.popup" = { bg = "base01" } -"ui.window" = { bg = "base00" } "ui.help" = { fg = "base06", bg = "base01" } "info" = "base03" diff --git a/runtime/themes/base16_tty.toml b/runtime/themes/base16_tty.toml index 480bcd9c..e1d1647b 100644 --- a/runtime/themes/base16_tty.toml +++ b/runtime/themes/base16_tty.toml @@ -1,20 +1,17 @@ # Author: NNB "ui.menu" = "black" -"ui.menu.selected" = { fg = "white", bg = "black" } +"ui.menu.selected" = { modifiers = ["reversed"] } "ui.linenr" = { fg = "gray", bg = "black" } -"ui.popup" = { bg = "black" } -"ui.window" = { bg = "black" } +"ui.popup" = { modifiers = ["reversed"] } "ui.linenr.selected" = { fg = "white", bg = "black", modifiers = ["bold"] } "ui.selection" = { fg = "black", bg = "blue" } "ui.selection.primary" = { fg = "white", bg = "blue" } "comment" = { fg = "gray" } -"ui.statusline" = { fg = "white", bg = "black" } -"ui.help" = { fg = "white", bg = "black" } -"ui.cursor" = { fg = "white", modifiers = ["reversed"] } #FIXME -"ui.text" = "white" #FIXME -"operator" = "white" #FIXME -"ui.text.focus" = "white" #FIXME +"ui.statusline" = { fg = "black", bg = "white" } +"ui.statusline.inactive" = { fg = "gray", bg = "white" } +"ui.help" = { modifiers = ["reversed"] } +"ui.cursor" = { modifiers = ["reversed"] } "variable" = "red" "constant.numeric" = "yellow" "constant" = "yellow" @@ -30,8 +27,6 @@ "keyword" = "magenta" "label" = "magenta" "namespace" = "magenta" -"ui.popup" = { bg = "black" } -"ui.window" = { bg = "base00" } "ui.help" = { fg = "white", bg = "black" } "info" = "gray" -- cgit v1.2.3-70-g09d2