1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Standalone user theme for mdv — no `extends`.
#
# This file lists every available field of a user theme, so it can be
# used as a reference or as a starting point for a fully custom palette.
# Place it (renamed) under `<config_dir>/themes/`, where the directory is
# resolved the same way as `config.yaml`:
# - --config-file <DIR> (highest priority)
# - $MDV_CONFIG_PATH
# - ~/.config/mdv/ (default)
#
# After the file is in place it shows up in `mdv --theme-info` and can be
# selected with `--theme custom` (or any other name you put in `name:`).
#
# Color values follow the same syntax as `--custom-theme`:
# named: red, darkgrey, dark_grey
# hex: "#ff5577"
# rgb: 187,154,247
# ansi: ansi(42) or just 42
name: custom
description: Fully standalone palette with every field set explicitly.
# Text colors
text: white
text_light: grey
# Heading colors (H1..H6)
h1: red
h2: green
h3: yellow
h4: blue
h5: magenta
h6: cyan
# Special elements
code: red
code_block: white
quote: darkgrey
link: blue
emphasis: yellow
strong: red
strikethrough: darkgrey
# Background and borders
# background is the only field that accepts `null` (meaning "no background").
highlight_background: "ansi(236)"
background: "rgb(30,30,46)"
border: grey
# Lists and tables
list_marker: green
table_header: yellow
table_border: grey
# Error and warning
error: red
warning: yellow
# Syntax highlight palette
syntax:
keyword: red
string: green
comment: darkgrey
number: magenta
operator: red
function: green
variable: white
type_name: blue