Clean Up Nord Theme (#3792)

- Add markup styles
- Replace custom colors with Nord colors
- Clean up code spacing
pull/3311/head
Alex Mayer 2 years ago committed by GitHub
parent 936ad884eb
commit 23027a454a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,10 @@
# Author : RayGervais<raygervais@hotmail.ca> # Author : RayGervais<raygervais@hotmail.ca>
"ui.linenr.selected" = { fg = "nord4" } "ui.linenr.selected" = "nord4"
"ui.cursorline.primary" = { bg = "nord1" } "ui.cursorline.primary" = { bg = "nord1" }
"ui.text.focus" = { fg = "nord8", modifiers= ["bold"] } "ui.text.focus" = { fg = "nord8", modifiers = ["bold"] }
"ui.menu" = { fg = "nord6", bg = "#232d38" } "ui.menu" = { fg = "nord6", bg = "nord1" }
"ui.menu.selected" = { fg = "nord8", bg = "nord2" } "ui.menu.selected" = { fg = "nord8", bg = "nord2" }
"ui.virtual.whitespace" = "gray"
"ui.virtual.ruler" = { bg = "nord1" } "ui.virtual.ruler" = { bg = "nord1" }
"info" = "nord8" "info" = "nord8"
@ -14,26 +13,26 @@
# Polar Night # Polar Night
# nord0 - background color # nord0 - background color
"ui.background" = { bg = "nord0" } "ui.background" = { bg = "nord0" }
"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
"ui.statusline.normal" = { fg = "nord0", bg = "nord8" } "ui.statusline.normal" = { fg = "nord0", bg = "nord8" }
"ui.statusline.insert" = { fg = "nord0", bg = "nord13" } "ui.statusline.insert" = { fg = "nord0", bg = "nord13" }
"ui.statusline.select" = { fg = "nord0", bg = "nord15" } "ui.statusline.select" = { fg = "nord0", bg = "nord15" }
# nord1 - status bars, panels, modals, autocompletion # nord1 - status bars, panels, modals, autocompletion
"ui.statusline" = { fg = "nord4", bg = "#4c566a" } "ui.statusline" = { fg = "nord4", bg = "nord1" }
"ui.popup" = { bg = "#232d38" } "ui.popup" = { bg = "nord1" }
"ui.window" = { bg = "#232d38" } "ui.window" = { bg = "nord1" }
"ui.help" = { bg = "#232d38", fg = "nord4" } "ui.help" = { bg = "nord1", fg = "nord4" }
# nord2 - active line, highlighting # nord2 - active line, highlighting
"ui.selection" = { bg = "nord2" } "ui.selection" = { bg = "nord2" }
"ui.cursor.match" = { bg = "nord2" } "ui.cursor.match" = { bg = "nord2" }
# nord3 - comments, nord3 based lighter color # nord3 - comments, invisible/non-printable characters
# relative: https://github.com/arcticicestudio/nord/issues/94 "comment" = { fg = "nord3_bright", modifiers = ["italic"] }
"comment" = { fg = "gray", modifiers = ["italic"] } "ui.linenr" = "nord3_bright"
"ui.linenr" = { fg = "gray" } "ui.virtual.whitespace" = "nord3_bright"
# Snow Storm # Snow Storm
# nord4 - cursor, variables, constants, attributes, fields # nord4 - cursor, variables, constants, attributes, fields
@ -48,28 +47,28 @@
# nord5 - subtle UI text # nord5 - subtle UI text
# nord6 - base text, punctuation # nord6 - base text, punctuation
"ui.text" = { fg = "nord6" } "ui.text" = "nord6"
"punctuation" = "nord6" "punctuation" = "nord6"
# Frost # Frost
# nord7 - classes, types, primitives # nord7 - classes, types, primitives
"type" = "nord7" "type" = "nord7"
"type.builtin" = { fg = "nord7"} "type.builtin" = "nord7"
"label" = "nord7" "label" = "nord7"
# nord8 - declaration, methods, routines # nord8 - declaration, methods, routines
"constructor" = "nord8" "constructor" = "nord8"
"function" = "nord8" "function" = "nord8"
"function.macro" = { fg = "nord8" } "function.macro" = "nord8"
"function.builtin" = { fg = "nord8" } "function.builtin" = "nord8"
# nord9 - operator, tags, units, punctuations # nord9 - operator, tags, units, punctuations
"punctuation.delimiter" = "nord9" "punctuation.delimiter" = "nord9"
"operator" = { fg = "nord9" } "operator" = "nord9"
"variable.other.member" = "nord9" "variable.other.member" = "nord9"
# nord10 - keywords, special # nord10 - keywords, special
"keyword" = { fg = "nord10" } "keyword" = "nord10"
"keyword.directive" = "nord10" "keyword.directive" = "nord10"
"variable.parameter" = "nord10" "variable.parameter" = "nord10"
@ -83,7 +82,7 @@
# nord13 - warnings, escape characters, regex # nord13 - warnings, escape characters, regex
"warning" = "nord13" "warning" = "nord13"
"constant.character.escape" = { fg = "nord13" } "constant.character.escape" = "nord13"
# nord14 - strings # nord14 - strings
"string" = "nord14" "string" = "nord14"
@ -91,15 +90,13 @@
# nord15 - integer, floating point # nord15 - integer, floating point
"constant.numeric" = "nord15" "constant.numeric" = "nord15"
# TODO markup # markup
"markup.heading" = "blue" "markup.heading" = "nord8"
"markup.list" = "red" "markup.list" = "nord9"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] } "markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] } "markup.italic" = { modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] } "markup.link.text" = "nord8"
"markup.link.text" = "red" "markup.raw" = "nord7"
"markup.quote" = "cyan"
"markup.raw" = "green"
# vcs # vcs
"diff.plus" = "nord14" "diff.plus" = "nord14"
@ -110,6 +107,9 @@
nord0 = "#2e3440" nord0 = "#2e3440"
nord1 = "#3b4252" nord1 = "#3b4252"
nord2 = "#434c5e" nord2 = "#434c5e"
# we use a brighter nord3 based on discussion here:
# https://github.com/arcticicestudio/nord/issues/94
nord3_bright = "#616e88"
nord4 = "#d8dee9" nord4 = "#d8dee9"
nord6 = "#eceff4" nord6 = "#eceff4"
nord7 = "#8fbcbb" nord7 = "#8fbcbb"
@ -121,4 +121,3 @@ nord12 = "#d08770"
nord13 = "#ebcb8b" nord13 = "#ebcb8b"
nord14 = "#a3be8c" nord14 = "#a3be8c"
nord15 = "#b48ead" nord15 = "#b48ead"
gray = "#616e88"

Loading…
Cancel
Save