Debian Codegraph @

runtime/themes/wolf-alabaster-dark-bg.toml

raw symbols SCIP
1 # wolf-alabaster-dark-bg.toml
2 #
3 # Author: Wolf <[email protected]>
4 # Project: https://github.com/wolf/alabaster-for-helix
5 #
6 # This is the dark "BG" (background) variant of Alabaster for Helix.
7 # Uses background colors for syntax highlighting while keeping text mostly light grey.
8 #
9 # Based on tonsky's "Alabaster BG" variant adapted for dark backgrounds.
10
11 inherits = "wolf-alabaster-dark"
12
13 # SYNTAX HIGHLIGHTING - DARK BG VARIANT
14 # Override to use BACKGROUND colors instead of text colors
15 # Text stays light grey, categories distinguished by background
16
17 "string" = { fg = "fg", bg = "string-bg" }
18 "string.regexp" = { fg = "fg", bg = "string-bg" }
19 "string.special" = { fg = "fg", bg = "string-bg-dark" }
20
21 # Constants keep foreground color (same as base)
22 "constant" = { fg = "constant" }
23 "constant.numeric" = { fg = "constant" }
24 "constant.character" = { fg = "constant" }
25 "constant.builtin" = { fg = "constant" }
26
27 "comment" = { fg = "fg", bg = "comment-bg" }
28 "comment.line" = { fg = "fg", bg = "comment-bg" }
29 "comment.block" = { fg = "fg", bg = "comment-bg" }
30
31 "function" = { fg = "fg", bg = "definition-bg" }
32 "function.builtin" = { fg = "fg", bg = "definition-bg" }
33 "function.method" = { fg = "fg", bg = "definition-bg" }
34
35 "constructor" = { fg = "fg", bg = "definition-bg" }
36 "type" = { fg = "fg", bg = "definition-bg" }
37 "type.builtin" = { fg = "fg", bg = "definition-bg" }
38
39 # Special cases
40 "tag" = { fg = "fg", bg = "definition-bg" }
41 "namespace" = { fg = "fg", bg = "definition-bg" }
42
43 # MARKUP overrides
44 "markup.heading" = { fg = "fg", bg = "definition-bg", modifiers = ["bold"] }
45 "markup.link.url" = { fg = "fg", bg = "string-bg", modifiers = ["underlined"] }
46 "markup.link.text" = { fg = "fg", bg = "definition-bg" }
47 "markup.quote" = { fg = "fg", bg = "comment-bg" }
48 "markup.raw" = { fg = "fg", bg = "string-bg" }
49
50 # DIFF overrides
51 "diff.plus" = { fg = "fg", bg = "string-bg" }
52 "diff.minus" = { fg = "fg", bg = "error-bg" }
53
54 [palette]
55 # Add background colors for dark BG variant
56 # Darker, subdued backgrounds that work on dark background
57 string-bg = "#1F3A1F" # Dark green - strings
58 string-bg-dark = "#2A4A2A" # Slightly brighter dark green - escape sequences
59 definition-bg = "#1F2F3F" # Dark blue - definitions
60 comment-bg = "#3F3F1F" # Dark yellow - comments
61 error-bg = "#3F1F1F" # Dark red - errors
62
63 # Selection colors need to be more visible against colored syntax backgrounds
64 selection-primary = "#5A8FC7" # Brighter blue - visible against all syntax backgrounds
65 selection = "#2A4A6F" # Medium dark blue - secondary selections