Debian Codegraph @

runtime/themes/nightfox.toml

raw symbols SCIP
1 # Author: github.com/jhscheer
2 #
3 # This theme is an adaptation of
4 # github.com/EdenEast/nightfox.nvim
5
6
7 # INTERFACE
8 # These scopes are used for theming the editor interface.
9
10 "ui.background" = { bg = "bg1" } # Default background color.
11 "ui.window" = { fg = "bg0" } # Window border between splits.
12 "ui.gutter" = { fg = "fg3" } # Left gutter for diagnostics and breakpoints.
13
14 "ui.text" = { fg = "fg1" } # Default text color.
15 "ui.text.directory" = { fg = "blue-bright" } # Directory names in prompt completion.
16 "ui.text.focus" = { bg = "sel1", fg = "fg1" } # Selection highlight in buffer-picker or file-picker.
17 "ui.text.info" = { fg = "fg2", bg = "sel0" } # Info popup contents (space mode menu).
18
19 "ui.cursor" = { bg = "fg3", fg = "bg1" } # Fallback cursor colour, non-primary cursors when there are multiple (shift-c).
20 "ui.cursor.primary" = { bg = "fg1", fg = "bg1" } # The primary cursor when there are multiple (shift-c).
21 "ui.cursor.match" = { fg = "yellow", modifiers = ["bold"] } # The matching parentheses of that under the cursor.
22
23 "ui.selection" = { bg = "bg4" } # All currently selected text.
24 "ui.selection.primary" = { bg = "sel1" } # The primary selection when there are multiple.
25 "ui.cursorline.primary" = { bg = "bg3" } # The line of the primary cursor (if cursorline is enabled)
26 # "ui.cursorline.secondary" = { } # The lines of any other cursors (if cursorline is enabled)
27 # "ui.cursorcolumn.primary" = { } # The column of the primary cursor (if cursorcolumn is enabled)
28 # "ui.cursorcolumn.secondary" = { } # The columns of any other cursors (if cursorcolumn is enabled)
29
30 "ui.linenr" = { fg = "fg3" } # Line numbers.
31 "ui.linenr.selected" = { fg = "yellow", modifiers = ["bold"] } # Current line number.
32
33 # "ui.virtual" = { } # Namespace for additions to the editing area.
34 "ui.virtual.ruler" = { bg = "bg3" } # Vertical rulers (colored columns in editing area).
35 "ui.virtual.whitespace" = { fg = "bg3" } # Whitespace markers in editing area.
36 "ui.virtual.indent-guide" = { fg = "black" } # Vertical indent width guides
37 "ui.virtual.inlay-hint" = { fg = "comment", bg = "bg2" } # Default style for inlay hints of all kinds
38 "ui.virtual.jump-label" = { fg = "blue", modifiers = ["bold"] } # Style for virtual jump labels
39 "ui.virtual.wrap" = { fg = "fg3" } # Soft-wrap indicator.
40
41 "ui.statusline" = { fg = "fg2", bg = "bg0" } # Status line.
42 "ui.statusline.inactive" = { fg = "fg3", bg = "bg0" } # Status line in unfocused windows.
43 "ui.statusline.normal" = { bg = "blue", fg = "bg0", modifiers = ["bold"] } # Statusline mode during normal mode (only if editor.color-modes is enabled)
44 "ui.statusline.insert" = { bg = "green", fg = "bg0", modifiers = ["bold"] } # Statusline mode during insert mode (only if editor.color-modes is enabled)
45 "ui.statusline.select" = { bg = "magenta", fg = "bg0", modifiers = ["bold"] } # Statusline mode during select mode (only if editor.color-modes is enabled)
46
47 "ui.bufferline" = { fg = "fg3", bg = "bg2", underline = { style = "line" } }
48 "ui.bufferline.active" = { fg = "fg2", bg = "bg4" }
49 "ui.bufferline.background" = { bg = "bg0" }
50
51 "ui.help" = { bg = "sel0", fg = "fg1" } # Description box for commands.
52
53 "ui.menu" = { bg = "sel0", fg = "fg1" } # Code and command completion menus.
54 "ui.menu.selected" = { bg = "fg3" } # Selected autocomplete item.
55 "ui.menu.scroll" = { fg = "fg3" } # fg sets thumb color, bg sets track color of scrollbar.
56
57 "ui.popup" = { bg = "bg0", fg = "fg1" } # Documentation popups (space-k).
58 "ui.popup.info" = { bg = "sel0", fg = "fg1" } # Info popups box (space mode menu).
59
60 "markup.raw" = { fg = "magenta" } # Code block in Markdown.
61 "markup.raw.inline" = { fg = "orange" } # `Inline code block` in Markdown.
62 "markup.heading" = { fg = "yellow", modifiers = ["bold"] }
63 "markup.list" = { fg = "magenta", modifiers = ["bold"] }
64 "markup.bold" = { fg = "orange", modifiers = ["bold"] }
65 "markup.italic" = { fg = "pink" }
66 "markup.strikethrough" = { modifiers = ["crossed_out"] }
67 "markup.link" = { fg = "yellow-bright", modifiers = ["bold"] }
68 "markup.quote" = { fg = "blue" }
69
70
71 # DIAGNOSTICS
72 "warning" = { fg = "yellow", bg = "bg1" } # Diagnostics warning (gutter)
73 "error" = { fg = "red", bg = "bg1" } # Diagnostics error (gutter)
74 "info" = { fg = "blue", bg = "bg1" } # Diagnostics info (gutter)
75 "hint" = { fg = "green", bg = "bg1" } # Diagnostics hint (gutter)
76
77 "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } # Diagnostics warning (editing area)
78 "diagnostic.error" = { underline = { color = "red", style = "curl" } } # Diagnostics error (editing area)
79 "diagnostic.info" = { underline = { color = "blue", style = "curl" } } # Diagnostics info (editing area)
80 "diagnostic.hint" = { underline = { color = "green", style = "curl" } } # Diagnostics hint (editing area)
81 "diagnostic.unnecessary" = { modifiers = ["dim"] }
82 "diagnostic.deprecated" = { modifiers = ["crossed_out"] }
83
84
85 # SYNTAX HIGHLIGHTING
86 # These keys match tree-sitter scopes.
87
88 "special" = { fg = "fg2" } # Special symbols e.g `?` in Rust, `...` in Hare.
89 "attribute" = { fg = "yellow" } # Class attributes, html tag attributes.
90
91 "type" = { fg = "yellow" } # Variable type, like integer or string, including program defined classes, structs etc..
92 "type.builtin" = { fg = "cyan-bright" } # Primitive types of the language (string, int, float).
93 "type.enum.variant" = { fg = "orange-bright" }
94
95 "constructor" = { fg = "magenta" } # Constructor method for a class or struct.
96
97 "constant" = { fg = "orange-bright" } # Constant value
98 "constant.builtin" = { fg = "orange-bright" } # Special constants like `true`, `false`, `none`, etc.
99 "constant.builtin.boolean" = { fg = "orange" } # True or False.
100 "constant.character" = { fg = "green" } # Constant of character type.
101 "constant.character.escape" = { fg = "yellow-bright", modifiers = ["bold"] } # escape codes like \n.
102 "constant.numeric" = { fg = "orange" } # constant integer or float value.
103
104 "string" = { fg = "green" } # String literal.
105 "string.regexp" = { fg = "yellow-bright" } # Regular expression literal.
106 "string.special" = { fg = "yellow-bright", modifiers = ["bold"] } # Strings containing a path, URL, etc.
107 "string.special.url" = { fg = "cyan", modifiers = ["bold"] } # String containing a web URL.
108
109 "comment" = { fg = "comment" } # This is a comment.
110 "comment.block.documentation" = { fg = "comment", modifiers = ["bold"] } # Block doc comments, e.g '/** */' in rust.
111 "comment.line.documentation" = { fg = "comment", modifiers = ["bold"] } # Line doc comments, e.g '///' in rust.
112
113 "variable" = { fg = "white" } # Variable names.
114 "variable.builtin" = { fg = "red" } # Language reserved variables: `this`, `self`, `super`, etc.
115 "variable.parameter" = { fg = "cyan-bright" } # Function parameters.
116 "variable.other.member" = { fg = "fg2" } # Fields of composite data types (e.g. structs, unions).
117
118 "label" = { fg = "magenta-bright" } # lifetimes - Loop labels, among other things.
119
120 "punctuation" = { fg = "fg2" } # Any punctuation symbol.
121 # "punctuation.delimiter" = { fg = "fg2" } # Commas, colons or other delimiter depending on the language.
122 # "punctuation.bracket" = { fg = "fg2" } # Parentheses, angle brackets, etc.
123 # "punctuation.special" = { fg = "fg2" } # String interpolation brackets
124
125 "keyword" = { fg = "magenta" } # Language reserved keywords.
126 "keyword.control" = { fg = "pink" } # Control keywords.
127 "keyword.control.conditional" = { fg = "magenta-bright" } # `if`, `else`, `elif`.
128 "keyword.control.repeat" = { fg = "magenta-bright" } # `for`, `while`, `loop`.
129 "keyword.control.import" = { fg = "pink-bright" } # `import`, `export` `use`.
130 "keyword.control.return" = { fg = "magenta" } # `return` in most languages.
131 "keyword.control.exception" = { fg = "magenta" } # `try`, `catch`, `raise`/`throw` and related.
132 "keyword.operator" = { fg = "fg2", modifiers = ["bold"] } # 'or', 'and', 'in'.
133 "keyword.directive" = { fg = "pink-bright" } # Preprocessor directives (#if in C...).
134 "keyword.function" = { fg = "red" } # The keyword to define a function: 'def', 'fun', 'fn'.
135 "keyword.storage" = { fg = "magenta" } # Keywords describing how things are stored
136 "keyword.storage.type" = { fg = "magenta" } # The type of something, class, function, var, let, etc.
137 "keyword.storage.modifier" = { fg = "yellow" } # Storage modifiers like static, mut, const, ref, etc.
138
139 "operator" = { fg = "fg2" } # Logical, mathematical, and other operators.
140
141 "function" = { fg = "blue-bright" }
142 "function.builtin" = { fg = "red" }
143 "function.macro" = { fg = "red" }
144 # "function.special" = { fg = "blue-bright" } # Preprocessor function in C.
145 # "function.method" = { fg = "blue-bright" } # Class / Struct methods.
146
147 "tag" = { fg = "blue-bright" } # As in <body> for html, css tags.
148
149 "namespace" = { fg = "cyan-bright" } # Namespace or module identifier.
150
151
152 # Diff ==============================
153 # Version control changes.
154
155 "diff.plus" = "green" # Additions.
156 "diff.minus" = "red" # Deletions.
157 "diff.delta" = "blue" # Modifications.
158 "diff.delta.moved" = "cyan" # Renamed or moved files.
159
160 # color palette
161 [palette]
162 black = "#393b44"
163 red = "#c94f6d"
164 red-dim = "#2f2837"
165 green = "#81b29a"
166 green-dim = "#26343c"
167 yellow = "#dbc074"
168 yellow-bright = "#e0c989"
169 blue = "#719cd6"
170 blue-bright = "#86abdc"
171 blue-dim = "#2f2837"
172 magenta = "#9d79d6"
173 magenta-bright = "#baa1e2"
174 cyan = "#63cdcf"
175 cyan-bright = "#7ad4d6"
176 cyan-dim = "#253f4a"
177 white = "#dfdfe0"
178 orange = "#f4a261"
179 orange-bright = "#f6b079"
180 pink = "#d67ad2"
181 pink-bright = "#dc8ed9"
182 comment = "#738091"
183 # spec
184 bg0 = "#131a24" # Dark bg (status line and float)
185 bg1 = "#192330" # Default bg
186 bg2 = "#212e3f" # Lighter bg (colorcolm folds)
187 bg3 = "#29394f" # Lighter bg (cursor line)
188 bg4 = "#39506d" # Conceal, border fg
189 fg0 = "#d6d6d7" # Lighter fg
190 fg1 = "#cdcecf" # Default fg
191 fg2 = "#aeafb0" # Darker fg (status line)
192 fg3 = "#71839b" # Darker fg (line numbers, fold columns)
193 sel0 = "#2b3b51" # Popup bg, visual selection bg
194 sel1 = "#3c5372" # Popup sel bg, search bg