Debian Codegraph @

runtime/themes/noctis.toml

raw symbols SCIP
1 # Author : 0rphee <[email protected]>
2
3 # Template written with the help of https://github.com/n0s4/helix-theme-template
4 # Keep in mind that I made this to fit Haskell and Python syntax, it may not work so well with other languages.
5
6 ## GENERAL ==============================
7
8 'property' = { fg = "red" } # Regex group names.
9 "warning" = { fg ="yellow", modifiers = ["bold"] } # Editor warnings.
10 "error" = { fg = "red", modifiers = ["bold"] } # Editor errors, like mistyping a command.
11 "info" = { fg = "mid-blue" } # Code diagnostic info in gutter (LSP).
12 # ? Difference between info and hint ?
13 "hint" = { fg = "light-green", modifiers = ["bold"] } # Code diagnostics hint in gutter (LSP).
14
15 # Code diagnostics in editing area (LSP).
16 "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
17 "diagnostic.error" = { underline = { color = "red", style = "curl" } }
18 "diagnostic.info" = { underline = { color = "mid-blue", style = "curl" } }
19 "diagnostic.hint" = { underline = { color = "light-green", style = "curl" } }
20 "diagnostic.unnecessary" = { modifiers = ["dim"] }
21 "diagnostic.deprecated" = { modifiers = ["crossed_out"] }
22
23 # UI ==============================
24 # For styling helix itself.
25
26 'ui.background' = { fg = "autocomp-green", bg = "dark-green" } # Default background color.
27 'ui.window' = { fg = "mid-green" } # Window border between splits.
28
29 'ui.gutter' = { } # Left gutter for diagnostics and breakpoints.
30
31 'ui.text' = { fg = "white" } # Default text color.
32 'ui.text.focus' = { fg = "white", bg = "mid-green", modifiers = ["bold"] } # Selection highlight in buffer-picker or file-picker.
33 'ui.text.info' = { fg = "white" } # Info popup contents (space mode menu).
34
35 'ui.cursor' = { fg = "dark-green", bg = "white" } # Fallback cursor colour, non-primary cursors when there are multiple (shift-c).
36 'ui.cursor.primary' = { fg = "dark-green", bg = "light-blue" } # The primary cursor when there are multiple (shift-c).
37 'ui.cursor.insert' = { fg = "dark-green", bg = "light-blue" } # The cursor in insert mode (i).
38 'ui.cursor.select' = { fg = "dark-green", bg = "light-blue" } # The cursor in select mode (v).
39 'ui.cursor.match' = { fg = "dark-green", bg = "red", modifiers = ["bold"] } # The matching parentheses of that under the cursor.
40
41 'ui.selection' = { bg = "autocomp-green" } # All currently selected text.
42 'ui.selection.primary' = { bg = "autocomp-green" } # The primary selection when there are multiple.
43 'ui.cursorline.primary' = { bg = 'mid-green' }
44
45 'ui.linenr' = { fg = "gray" } # Line numbers.
46 'ui.linenr.selected' = { fg = "light-green", modifiers = [ "bold" ] } # Current line number.
47
48 'ui.virtual' = { fg = "autocomp-green" } # Namespace for additions to the editing area.
49 'ui.virtual.ruler' = { bg = "mid-green" } # Vertical rulers (colored columns in editing area).
50 'ui.virtual.whitespace' = { fg = "mid-green"} # Whitespace markers in editing area.
51 'ui.virtual.inlay-hint' = { fg = "autocomp-green" } # LSP inlay hints
52 'ui.virtual.indent-guide' = { fg = "mid-green" } # Indentation guides.
53 'ui.virtual.wrap' = { fg = "mid-green"} # Soft-wrap indicators
54 'ui.virtual.jump-label' = { fg = "autocomp-green", modifiers = [ "bold" ] } # Word-jump labels
55
56 'ui.statusline' = { fg = "light-green", bg = "autocomp-green"} # Status line.
57 'ui.statusline.inactive' = { fg = "white", bg = "mid-green"} # Status line in unfocused windows.
58
59 "ui.statusline.normal" = { fg = "dark-green", bg = "mid-blue", modifiers = [ "bold" ] }
60 "ui.statusline.insert" = { fg = "dark-green", bg = "pink", modifiers = [ "bold" ] }
61 "ui.statusline.select" = { fg = "dark-green", bg = "yellow", modifiers = [ "bold" ] }
62
63 'ui.help' = { bg = "mid-green", fg = "white"} # `:command` descriptions above the command line.
64
65 'ui.highlight' = { bg = "mid-green"} # selected contents of symbol pickers (spc-s, spc-S) and current line in buffer picker (spc-b).
66
67 'ui.menu' = { fg = "white", bg = "mid-green" } # Autocomplete menu.
68 'ui.menu.selected' = { fg = "light-green", bg = "autocomp-green" } # Selected autocomplete item.
69
70 'ui.popup' = { bg = "mid-green" } # Documentation popups (space-k).
71 # 'ui.ppopup.info' = { bg = "midgreen", fg = "gray", modifiers = ["bold"] } # Info popups box (space mode menu).
72
73 # SYNTAX HIGHLIGHTING ==============================
74 # All the keys here are Treesitter scopes.
75
76 'special' = { fg = "mid-blue"} # Special symbols e.g `?` in Rust, `...` in Hare.
77 'attribute' = { fg = "yellow" } # Class attributes, html tag attributes.
78
79 'type' = { fg = "orange"} # Variable type, like integer or string, including program defined classes, structs etc..
80 #'type.builtin' = { } # Primitive types of the language (string, int, float).
81 #'type.enum.variant' = { } # A variant of an enum.
82
83 'constructor' = { fg = "light-blue", modifiers = ["bold"]} # Constructor method for a class or struct. And in some cases applies to module names
84
85 'constant' = { fg = "light-blue", modifiers = ["bold"] } # Constant value
86 'constant.builtin' = { fg = "mid-blue", modifiers = ["bold"] } # Special constants like `true`, `false`, `none`, etc.
87 'constant.builtin.boolean' = { } # True or False.
88 'constant.character' = { fg = "light-green"} # Constant of character type.
89 'constant.character.escape' = { fg = "purple", modifiers = ["bold"] } # escape codes like \n.
90 'constant.numeric' = { fg = "purple"} # constant integer or float value.
91 # 'constant.numeric.integer' = { } # constant integer value.
92 # 'constant.numeric.float' = { } # constant float value.
93
94 'string' = { fg = "light-green" } # String literal.
95 'string.regexp' = { } # Regular expression literal.
96 'string.special' = { fg = "red" } # Strings containing a path, URL, etc.
97 # 'string.special.path' = { } # String containing a file path.
98 # 'string.special.url' = { } # String containing a web URL.
99 # 'string.special.symbol' = { } # Erlang/Elixir atoms, Ruby symbols, Clojure keywords.
100
101 'comment' = { fg = "gray", modifiers = ["italic"] } # This is a comment.
102 'comment.line' = { } # Line comments, like this.
103 'comment.line.documentation' = { } # Doc comments, e.g '///' in rust.
104 'comment.block' = { } # Block comments, like /* this */ in some languages.
105 'comment.block.documentation' = { } # Doc comments, e.g '/** */' in rust.
106
107 'variable' = { fg = "light-orange" } # Variable names.
108 # 'variable.builtin' = { } # Language reserved variables: `this`, `self`, `super`, etc.
109 # 'variable.parameter' = { } # Function parameters.
110 'variable.other.member' = { fg = "orange" } # Fields of composite data types (e.g. structs, unions).
111
112 'label' = { fg = "purple" } # Loop labels in rust.
113
114 'punctuation' = { fg = "yellow", modifiers = ["bold"] } # (){}[]:;,.
115 # 'punctuation.delimiter' = { fg = "yellow" } # Commas and colons.
116 # 'punctuation.bracket' = { fg = "yellow" } # Parentheses, angle brackets, etc.
117
118 'keyword' = { fg = "pink", modifiers = ["bold"] } # Language reserved keywords.
119 'keyword.control' = { fg = "pink", modifiers = ["bold"] } # Control keywords.
120 'keyword.control.conditional' = { fg = "pink", modifiers = ["bold"] } # 'if', 'else', 'elif'.
121 # 'keyword.control.repeat' = { } # 'for', 'while', 'loop'.
122 'keyword.control.import' = { fg = "pink", modifiers = ["italic"] } # 'import', 'export' ('use'?).
123 # 'keyword.control.return' = { } # 'return' in most languages.
124 'keyword.control.exception' = {fg = "pink", modifiers = ["bold"] } # 'raise' in python.
125 'keyword.operator' = { fg = "pink" } # 'or', 'and', 'in'.
126 'keyword.directive' = { fg = "purple" } # Preprocessor directives (#if in C).
127 'keyword.function' = { fg= "red" } # The keyword to define a function: 'def', 'fun', 'fn'.
128
129 'operator' = { fg = "pink", modifiers = ["bold"] } # Logical (&&, ||) and - I assume - Mathematical (+, %) operators
130
131 'function' = { fg = "mid-blue"}
132 'function.builtin' = { fg = "dark-blue" }
133 'function.method' = { fg = "dark-blue" } # Class / Struct methods.
134 'function.macro' = { fg = "purple" } # Like macros in rust.
135 # 'function.special' = { fg = "yellow" } # Preprocessor in C.
136
137 'tag' = { fg = "yellow"} # As in <body> for html.
138
139 'namespace' = { fg = "mid-blue" } # * Namespace keyword in java, C#, etc.
140
141 # Markup ==============================
142 # Colors for markup languages, like Markdown or XML.
143
144 'markup.heading' = { } # Markdown headings
145 'markup.heading.1' = { } # Markdown heading 1 color.
146 'markup.heading.2' = { } # Markdown heading 2 color.
147 'markup.heading.3' = { } # Markdown heading 3 color.
148 'markup.heading.4' = { } # Markdown heading 4 color.
149 'markup.heading.5' = { } # Markdown heading 5 color.
150 'markup.heading.6' = { } # Markdown heading 6 color.
151 'markup.heading.marker' = { fg = "red" } # Hashtag color on Markdown headings.
152
153 'markup.list' = { fg = "red" }
154 'markup.list.numbered' = { } # Numbered list.
155 'markup.list.unnumbered' = { } # Bullet point list.
156
157 'markup.bold' = { modifiers = ["bold"] } # Bold text.
158 'markup.italic' = { modifiers = ["italic"] } # Italicised text.
159 "markup.strikethrough" = { modifiers = ["crossed_out"] } # Crossed out text.
160
161 'markup.link' = { fg = "light-blue", modifiers = ["underlined"] }
162 'markup.link.url' = { } # Urls pointed to by links.
163 'markup.link.label' = { } # Non-URL link references.
164 'markup.link.text' = { fg = "purple"} # URL and image descriptions in links.
165
166 'markup.quote' = { } # `> Quotes` in Markdown.
167
168
169 # Markup - Interface ==============================
170 # "These scopes are used for theming the editor interface."
171
172 'markup.normal' = { }
173 'markup.normal.completion' = { } # For completion doc popup ui.
174 'markup.normal.raw' = { } # For hover popup ui.
175
176 'markup.heading.completion' = { } # Headings for completion doc popup ui.
177 'markup.heading.raw' = { } # Headings for hover popup ui.
178
179 'markup.raw' = { } # Code block in Markdown.
180 'markup.raw.block' = { } # Multiline (```) codeblock in Markdown.
181 'markup.raw.inline' = { } # `Inline code block` in Markdown.
182 'markup.raw.inline.completion' = { } # ?
183 'markup.raw.inline.hover' = { } # ?
184
185 # Diff ==============================
186 # Version control changes.
187
188 'diff.plus' = "light-green" # { } # Additions.
189 'diff.minus' = "red" # { } # Deletions.
190 'diff.delta' = "yellow" # { } # Modifications.
191 # 'diff.delta.moved' = { } # Renamed or moved files / changes.
192
193
194 [palette] # Define your custom colors here.
195 dark-green = "#00262a" # backgrounds
196 mid-green = "#073a40" # highlights
197 autocomp-green = "#0d6772" # lighter than mid-green
198 light-green = "#48e9a7" # strings
199
200 pink = "#df769b"
201 yellow = "#ffd800"
202 purple = "#918cff"
203 white = "#b1cace"
204 orange = "#ffa864"
205 light-orange = "#fff2c5"
206 gray = "#5b858b" # mainly for comments/background text
207 light-gray = "#2a3c41" # used when whitespace rendering is enabled and for indent-guides
208 red = "#e34e1b"
209
210 dark-blue = "#19a2b7"
211 mid-blue = "#47ace8"
212 light-blue = "#87efff"
213