From 61856f1d64557a053f9160698ab8751bf01d76ab Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Tue, 26 Jul 2022 16:43:39 +0300 Subject: Nord color modes (#3200) * Add color modes to nord theme * Add color-modes to nord_light theme and fixup Fg color was not set in some places and defaulted incorrectly.--- runtime/themes/nord.toml | 3 +++ runtime/themes/nord_light.toml | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/runtime/themes/nord.toml b/runtime/themes/nord.toml index 11195ece..2df30814 100644 --- a/runtime/themes/nord.toml +++ b/runtime/themes/nord.toml @@ -15,6 +15,9 @@ "ui.background" = { bg = "nord0" } "ui.statusline.inactive" = { fg = "nord8", bg = "nord1" } +"ui.statusline.normal" = { fg = "nord0", bg = "nord8" } +"ui.statusline.insert" = { fg = "nord0", bg = "nord13" } +"ui.statusline.select" = { fg = "nord0", bg = "nord15" } # nord1 - status bars, panels, modals, autocompletion "ui.statusline" = { fg = "nord4", bg = "#4c566a" } diff --git a/runtime/themes/nord_light.toml b/runtime/themes/nord_light.toml index 9afb1dee..6707d2f7 100644 --- a/runtime/themes/nord_light.toml +++ b/runtime/themes/nord_light.toml @@ -3,7 +3,7 @@ "ui.background" = {bg="nord6"} "ui.text" = "nord0" "ui.selection" = {bg="nord7", fg="nord6"} -"ui.statusline" = {bg="nord4"} +"ui.statusline" = {bg="nord4", fg="nord0"} "ui.statusline.inactive" = {bg="nord8"} "ui.virtual" = "nord8" "ui.cursor.match" = {bg="nord8"} @@ -11,9 +11,17 @@ "ui.cursorline.primary" = {bg="nord5"} "ui.linenr" = {fg="nord7"} "ui.linenr.selected" = {fg="nord0", bg="nord5"} -"ui.menu" = {bg="nord4"} +"ui.menu" = {bg="nord4",fg="nord0"} "ui.menu.selected" = {bg="nord5"} "ui.popup" = {bg="nord4"} +"ui.popup.info" = {bg="nord4",fg="nord0"} +"ui.help" = {bg="nord4",fg="nord0"} + + +"ui.statusline.normal" = { fg = "nord0", bg = "nord8" } +"ui.statusline.insert" = { fg = "nord0", bg = "nord13" } +"ui.statusline.select" = { fg = "nord0", bg = "nord15" } + "diagnostic.error" = {fg="nord11", modifiers=["bold"]} "diagnostic.warning" = {bg="nord13", modifiers=["bold"]} -- cgit v1.2.3-70-g09d2