Skip to content

Commit

Permalink
Nord color modes (helix-editor#3200)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
A-Walrus authored Jul 26, 2022
1 parent df5ab8b commit 61856f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions runtime/themes/nord.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
12 changes: 10 additions & 2 deletions runtime/themes/nord_light.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,25 @@
"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"}
"ui.cursor" = {bg="nord10", fg="nord6"}
"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"]}
Expand Down

0 comments on commit 61856f1

Please sign in to comment.