From 3080be82687548e06a05e517e09a36721b769f03 Mon Sep 17 00:00:00 2001 From: NNB Date: Thu, 2 Dec 2021 17:22:27 +0700 Subject: [PATCH] Fix error color, add tty theme --- base16_terminal.toml | 2 +- runtime/themes/base16_default_dark.toml | 2 +- runtime/themes/base16_default_light.toml | 2 +- runtime/themes/base16_tty.toml | 41 ++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 runtime/themes/base16_tty.toml diff --git a/base16_terminal.toml b/base16_terminal.toml index bf3c73f11..e613526f4 100644 --- a/base16_terminal.toml +++ b/base16_terminal.toml @@ -38,4 +38,4 @@ "hint" = "light-gray" "debug" = "light-gray" "diagnostic" = "light-gray" -"error" = "light-magenta" +"error" = "light-red" diff --git a/runtime/themes/base16_default_dark.toml b/runtime/themes/base16_default_dark.toml index 15c094a6f..3472162bd 100644 --- a/runtime/themes/base16_default_dark.toml +++ b/runtime/themes/base16_default_dark.toml @@ -39,7 +39,7 @@ "hint" = "base03" "debug" = "base03" "diagnostic" = "base03" -"error" = "base0E" +"error" = "base08" [palette] base00 = "#181818" # Default Background diff --git a/runtime/themes/base16_default_light.toml b/runtime/themes/base16_default_light.toml index d9f1e0ba3..d864fd5fe 100644 --- a/runtime/themes/base16_default_light.toml +++ b/runtime/themes/base16_default_light.toml @@ -39,7 +39,7 @@ "hint" = "base03" "debug" = "base03" "diagnostic" = "base03" -"error" = "base0E" +"error" = "base08" [palette] base00 = "#f8f8f8" # Default Background diff --git a/runtime/themes/base16_tty.toml b/runtime/themes/base16_tty.toml new file mode 100644 index 000000000..480bcd9c3 --- /dev/null +++ b/runtime/themes/base16_tty.toml @@ -0,0 +1,41 @@ +# Author: NNB + +"ui.menu" = "black" +"ui.menu.selected" = { fg = "white", bg = "black" } +"ui.linenr" = { fg = "gray", bg = "black" } +"ui.popup" = { bg = "black" } +"ui.window" = { bg = "black" } +"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 +"variable" = "red" +"constant.numeric" = "yellow" +"constant" = "yellow" +"attributes" = "yellow" +"type" = "yellow" +"ui.cursor.match" = { fg = "yellow", modifiers = ["underlined"] } +"string" = "green" +"variable.other.member" = "green" +"constant.character.escape" = "cyan" +"function" = "blue" +"constructor" = "blue" +"special" = "blue" +"keyword" = "magenta" +"label" = "magenta" +"namespace" = "magenta" +"ui.popup" = { bg = "black" } +"ui.window" = { bg = "base00" } +"ui.help" = { fg = "white", bg = "black" } + +"info" = "gray" +"hint" = "gray" +"debug" = "gray" +"diagnostic" = "gray" +"error" = "red"