helix/runtime/themes/nord.toml
Alex Mayer 23027a454a
Clean Up Nord Theme (#3792)
- Add markup styles
- Replace custom colors with Nord colors
- Clean up code spacing
2022-09-12 23:32:24 +09:00

124 lines
3.0 KiB
TOML

# Author : RayGervais<raygervais@hotmail.ca>
"ui.linenr.selected" = "nord4"
"ui.cursorline.primary" = { bg = "nord1" }
"ui.text.focus" = { fg = "nord8", modifiers = ["bold"] }
"ui.menu" = { fg = "nord6", bg = "nord1" }
"ui.menu.selected" = { fg = "nord8", bg = "nord2" }
"ui.virtual.ruler" = { bg = "nord1" }
"info" = "nord8"
"hint" = "nord8"
# Polar Night
# nord0 - background color
"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 = "nord1" }
"ui.popup" = { bg = "nord1" }
"ui.window" = { bg = "nord1" }
"ui.help" = { bg = "nord1", fg = "nord4" }
# nord2 - active line, highlighting
"ui.selection" = { bg = "nord2" }
"ui.cursor.match" = { bg = "nord2" }
# nord3 - comments, invisible/non-printable characters
"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
"ui.linenr" = "nord3_bright"
"ui.virtual.whitespace" = "nord3_bright"
# Snow Storm
# nord4 - cursor, variables, constants, attributes, fields
"ui.cursor.primary" = { fg = "nord4", modifiers = ["reversed"] }
"attribute" = "nord4"
"variable" = "nord4"
"constant" = "nord4"
"variable.builtin" = "nord4"
"constant.builtin" = "nord4"
"namespace" = "nord4"
# nord5 - subtle UI text
# nord6 - base text, punctuation
"ui.text" = "nord6"
"punctuation" = "nord6"
# Frost
# nord7 - classes, types, primitives
"type" = "nord7"
"type.builtin" = "nord7"
"label" = "nord7"
# nord8 - declaration, methods, routines
"constructor" = "nord8"
"function" = "nord8"
"function.macro" = "nord8"
"function.builtin" = "nord8"
# nord9 - operator, tags, units, punctuations
"punctuation.delimiter" = "nord9"
"operator" = "nord9"
"variable.other.member" = "nord9"
# nord10 - keywords, special
"keyword" = "nord10"
"keyword.directive" = "nord10"
"variable.parameter" = "nord10"
# Aurora
# nord11 - error
"error" = "nord11"
# nord12 - annotations, decorators
"special" = "nord12"
"module" = "nord12"
# nord13 - warnings, escape characters, regex
"warning" = "nord13"
"constant.character.escape" = "nord13"
# nord14 - strings
"string" = "nord14"
# nord15 - integer, floating point
"constant.numeric" = "nord15"
# markup
"markup.heading" = "nord8"
"markup.list" = "nord9"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.link.text" = "nord8"
"markup.raw" = "nord7"
# vcs
"diff.plus" = "nord14"
"diff.delta" = "nord12"
"diff.minus" = "nord11"
[palette]
nord0 = "#2e3440"
nord1 = "#3b4252"
nord2 = "#434c5e"
# we use a brighter nord3 based on discussion here:
# https://github.com/arcticicestudio/nord/issues/94
nord3_bright = "#616e88"
nord4 = "#d8dee9"
nord6 = "#eceff4"
nord7 = "#8fbcbb"
nord8 = "#88c0d0"
nord9 = "#81a1c1"
nord10 = "#5e81ac"
nord11 = "#bf616a"
nord12 = "#d08770"
nord13 = "#ebcb8b"
nord14 = "#a3be8c"
nord15 = "#b48ead"