aboutsummaryrefslogtreecommitdiff
path: root/runtime/themes/modus_operandi_tritanopia.toml
blob: 8149f653e6f7dd0d79a7aeff5b7ab789e4c72fb5 (plain) (blame)
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
69
70
71
72
73
# Author: Alexis Mousset <contact@amousset.me>
# modus_operandi.toml variant
#
# This variant is optimized for users with blue-yellow color deficiency (tritanopia)

inherits = "modus_operandi"

"type" = "blue-warmer"
"constructor" = "blue-warmer"
"constant" = "green-cooler"
"constant.character.escape" = "red-cooler"
"string" = "cyan"
"comment" = "red-faint"
"variable.parameter" = "cyan-cooler"
"keyword" = "red-cooler"
"keyword.directive" = "red-warmer"
"function" = "cyan-warmer"
"function.macro" = "magenta"
"tag" = "red-cooler"

"markup.heading.2" = { fg = "red-faint", modifiers = ["bold"] }
"markup.heading.3" = { fg = "cyan-faint", modifiers = ["bold"] }
"markup.heading.6" = { fg = "magenta-faint", modifiers = ["bold"] }
"markup.link.url" = { fg = "cyan-cooler" }
"markup.link.text" = { fg = "cyan", modifiers = ["underlined"] }

"ui.cursor" = { fg = "bg-main", bg = "red-intense" }
"ui.cursor.primary.normal" = { fg = "bg-main", bg = "red-intense" }

"diagnostic.error" = { underline = { color = "red-warmer", style = "curl" } }
"diagnostic.warning" = { underline = { color = "magenta", style = "curl" } }
"diagnostic.info" = { underline = { color = "cyan", style = "curl" } }
"diagnostic.hint" = { underline = { color = "blue", style = "curl" } }

error = "red-warmer"
warning = "magenta"
info = "cyan"
hint = "blue"

[palette]

# Common accent foregrounds
red-warmer = "#b21100"
red-faint = "#702000"
yellow = "#695500"
yellow-warmer = "#973300"
yellow-cooler = "#77492f"
magenta-intense = "#cd22bd"
cyan-faint = "#004f5f"

# Special purpose
bg-completion = "#afdfef"
bg-hover = "#ffafbc"
bg-hover-secondary = "#9fdfff"
bg-hl-line = "#dfeaec"

bg-char-0 = "#ff908f"
bg-char-1 = "#bfbfff"
bg-char-2 = "#5fcfdf"

bg-mode-line-active = "#afe0f2"
fg-mode-line-active = "#0f0f0f"
border-mode-line-active = "#2f4f44"

modeline-err = "#8f0000"
modeline-warning = "#6f306f"
modeline-info = "#00445f"

# Diffs
bg-added = "#b5e7ff"
fg-added = "#005079"
bg-changed = "#eecfdf"
fg-changed = "#6f1343"