aboutsummaryrefslogtreecommitdiff
path: root/runtime/themes/starlight.toml
blob: 09db90fd6f5764e1d76783f82e3254d343c53205 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Author : eemilhaa <eemil.haapanen@gmail.com> 
# Palette from : https://github.com/CosmicToast/starlight

# Syntax
"function"               = "green"
"constructor"            = "green"

"type"                   = "cyan"
"string.special"         = "cyan"
"string.regexp"          = "cyan"
"constant"               = "cyan"
"punctuation.special"    = "cyan"

"namespace"              = "white"
"module"                 = "white"
"variable"               = "white"

"attribute"              = "magenta"
"variable.parameter"     = "magenta"
"variable.other.member"  = "magenta"
"type.parameter"         = "magenta"

"keyword"                = "blue"
"variable.builtin"       = "blue"
"label"                  = "blue"
"tag"                    = "blue"
"operator"               = "blue"
"special"                = "blue"

"string"                 = "yellow"

"punctuation"            = "punct"

"comment"                = "dark-fg"

# Markup
"markup.heading.marker"  = { fg = "blue", modifiers = ["bold"] }
"markup.heading"         = { fg = "white", modifiers = ["bold"] }
"markup.list"            = "blue"
"markup.bold"            = { fg = "magenta", modifiers = ["bold"] }
"markup.italic"          = { fg = "magenta", modifiers = ["italic"] }
"markup.strikethrough"   = "red"
"markup.link"            = "cyan"
"markup.link.text"       = "yellow"
"markup.quote"           = "magenta"
"markup.raw"             = "green"

# UI
"diff.plus"   = "green"
"diff.minus"  = "red"
"diff.delta"  = "blue"

"ui.background"             = { fg = "dark-fg", bg = "dark-bg" }
"ui.cursor"                 = { fg = "black", bg = "light-fg" }
"ui.cursor.primary"         = { fg = "black", bg = "yellow" }
"ui.cursor.match"           = { fg = "black", bg = "dark-blue", modifiers = ["bold"] }
"ui.linenr"                 = "dark-fg"
"ui.linenr.selected"        = "yellow"
"ui.statusline"             = { fg = "light-fg", bg = "light-bg" }
"ui.statusline.inactive"    = { fg = "dark-fg", bg = "light-bg" }
"ui.statusline.insert"      = { fg = "black", bg = "green" }
"ui.statusline.select"      = { fg = "black", bg = "magenta" }
"ui.statusline.normal"      = { fg = "black", bg = "blue" }
"ui.popup"                  = { fg = "dark-fg", bg = "light-bg" }
"ui.window"                 = { fg = "light-bg", bg = "dark-bg" }
"ui.help"                   = { fg = "light-fg", bg = "light-bg" }
"ui.text"                   = "light-fg"
"ui.text.focus"             = { fg = "white", bg = "light-bg", modifiers = ["bold"] }
"ui.virtual"                = "dark-fg"
"ui.virtual.ruler"          = { bg = "medium-bg" }
"ui.virtual.indent-guide"   = "indent"
"ui.virtual.whitespace"     = "indent"
"ui.menu"                   = { fg = "light-fg", bg = "light-bg" }
"ui.menu.selected"          = { fg = "white", bg = "dark-fg", modifiers = ["bold"] }
"ui.selection"              = { fg = "light-fg", bg = "dark-fg" }
"ui.selection.primary"      = { fg = "white", bg = "dark-blue" }
"ui.highlight"              = { bg = "light-bg" }
"ui.cursorline.primary"     = { bg = "black" }
"ui.cursorcolumn.primary"   = { bg = "black" }
"ui.bufferline.background"  = { bg = "dark-bg" }
"ui.bufferline"             = { fg = "light-fg", bg = "light-bg" }
"ui.bufferline.active"      = { fg = "white", bg = "dark-fg" }

"diagnostic.error"    = { underline = { color = "red", style = "curl" } }
"diagnostic.warning"  = { underline = { color = "yellow", style = "curl" } }
"diagnostic.info"     = { underline = { color = "blue", style = "curl" } }
"diagnostic.hint"     = { underline = { color = "blue", style = "curl" } }

"info"     = "blue"
"hint"     = "blue"
"warning"  = "yellow"
"error"    = "red"

[palette]
# Colors
red        = "#FF4D51"
green      = "#35D450"
yellow     = "#E9E836"
blue       = "#5DC5F8"
dark-blue  = "#24ACD4"
magenta    = "#FEABF2"
cyan       = "#24DFC4"
white      = "#ffffff"
punct      = "#C9C9C9"

# Grays
black      = "#1e1e1e"
dark-bg    = "#242424"
medium-bg  = "#2D2D2D"
light-bg   = "#353535"
indent     = "#616161"
dark-fg    = "#929292"
light-fg   = "#E6E6E6"