feat: apply Nord theme to glow markdown renderer

- Add .config/glow/nord.json — full glamour style using Nord palette
  (Polar Night bg, Frost headings, Aurora syntax, Snow Storm text)
- Configure glow.yml to use the Nord style by default
- Track both glow files in .gitignore whitelist

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 18:13:10 +02:00
co-authored by Claude Sonnet 4.6
parent e3f8f8a742
commit 52a5409495
3 changed files with 215 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# style name or JSON path (default "auto")
style: "/home/valknar/.config/glow/nord.json"
# mouse support (TUI-mode only)
mouse: false
# use pager to display markdown
pager: false
# word-wrap at width
width: 80
+204
View File
@@ -0,0 +1,204 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#D8DEE9",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ ",
"color": "#4C566A",
"italic": true
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#2E3440",
"background_color": "#88C0D0",
"bold": true
},
"h2": {
"prefix": "## ",
"color": "#88C0D0"
},
"h3": {
"prefix": "### ",
"color": "#81A1C1"
},
"h4": {
"prefix": "#### ",
"color": "#8FBCBB"
},
"h5": {
"prefix": "##### ",
"color": "#5E81AC"
},
"h6": {
"prefix": "###### ",
"color": "#4C566A",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"color": "#ECEFF4",
"bold": true
},
"hr": {
"color": "#4C566A",
"format": "\n────────────────────────────────────────────────────────────\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". ",
"color": "#81A1C1"
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "#5E81AC",
"underline": true
},
"link_text": {
"color": "#88C0D0",
"bold": true
},
"image": {
"color": "#B48EAD",
"underline": true
},
"image_text": {
"color": "#4C566A",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#88C0D0",
"background_color": "#3B4252"
},
"code_block": {
"color": "#D8DEE9",
"margin": 2,
"chroma": {
"text": {
"color": "#D8DEE9"
},
"error": {
"color": "#ECEFF4",
"background_color": "#BF616A"
},
"comment": {
"color": "#4C566A"
},
"comment_preproc": {
"color": "#5E81AC"
},
"keyword": {
"color": "#81A1C1"
},
"keyword_reserved": {
"color": "#81A1C1"
},
"keyword_namespace": {
"color": "#5E81AC"
},
"keyword_type": {
"color": "#8FBCBB"
},
"operator": {
"color": "#81A1C1"
},
"punctuation": {
"color": "#D8DEE9"
},
"name": {
"color": "#D8DEE9"
},
"name_builtin": {
"color": "#88C0D0"
},
"name_tag": {
"color": "#81A1C1"
},
"name_attribute": {
"color": "#8FBCBB"
},
"name_class": {
"color": "#8FBCBB",
"underline": true,
"bold": true
},
"name_constant": {
"color": "#B48EAD"
},
"name_decorator": {
"color": "#D08770"
},
"name_exception": {
"color": "#BF616A"
},
"name_function": {
"color": "#88C0D0"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#B48EAD"
},
"literal_date": {
"color": "#A3BE8C"
},
"literal_string": {
"color": "#A3BE8C"
},
"literal_string_escape": {
"color": "#EBCB8B"
},
"generic_deleted": {
"color": "#BF616A"
},
"generic_emph": {
"italic": true
},
"generic_inserted": {
"color": "#A3BE8C"
},
"generic_strong": {
"bold": true
},
"generic_subheading": {
"color": "#4C566A"
},
"background": {
"background_color": "#2E3440"
}
}
},
"table": {},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}