Debian Codegraph @

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

raw symbols SCIP
1 # wolf-alabaster-light-bg.toml
2 #
3 # Author: Wolf <[email protected]>
4 # Project: https://github.com/wolf/alabaster-for-helix
5 #
6 # This is the "BG" (background) variant of Alabaster for Helix.
7 # Unlike the standard version that uses text colors, this variant uses background colors
8 # for syntax highlighting while keeping text mostly black.
9 #
10 # Based on tonsky's "Alabaster BG" variant from:
11 # https://github.com/tonsky/sublime-scheme-alabaster
12
13 inherits = "wolf-alabaster-light"
14
15 # SYNTAX HIGHLIGHTING - BG VARIANT
16 # Override to use BACKGROUND colors instead of text colors
17 # Text stays black, categories distinguished by background
18
19 "string" = { fg = "fg", bg = "string-bg" }
20 "string.regexp" = { fg = "fg", bg = "string-bg" }
21 "string.special" = { fg = "fg", bg = "string-bg-dark" }
22
23 # Constants keep foreground color (same as base)
24 "constant" = { fg = "constant" }
25 "constant.numeric" = { fg = "constant" }
26 "constant.character" = { fg = "constant" }
27 "constant.builtin" = { fg = "constant" }
28
29 "comment" = { fg = "fg", bg = "comment-bg" }
30 "comment.line" = { fg = "fg", bg = "comment-bg" }
31 "comment.block" = { fg = "fg", bg = "comment-bg" }
32
33 "function" = { fg = "fg", bg = "definition-bg" }
34 "function.builtin" = { fg = "fg", bg = "definition-bg" }
35 "function.method" = { fg = "fg", bg = "definition-bg" }
36
37 "constructor" = { fg = "fg", bg = "definition-bg" }
38 "type" = { fg = "fg", bg = "definition-bg" }
39 "type.builtin" = { fg = "fg", bg = "definition-bg" }
40
41 # Special cases
42 "tag" = { fg = "fg", bg = "definition-bg" }
43 "namespace" = { fg = "fg", bg = "definition-bg" }
44
45 # MARKUP overrides
46 "markup.heading" = { fg = "fg", bg = "definition-bg", modifiers = ["bold"] }
47 "markup.link.url" = { fg = "fg", bg = "string-bg", modifiers = ["underlined"] }
48 "markup.link.text" = { fg = "fg", bg = "definition-bg" }
49 "markup.quote" = { fg = "fg", bg = "comment-bg" }
50 "markup.raw" = { fg = "fg", bg = "string-bg" }
51
52 # DIFF overrides
53 "diff.plus" = { fg = "fg", bg = "string-bg" }
54 "diff.minus" = { fg = "fg", bg = "error-bg" }
55
56 [palette]
57 # Add background colors for BG variant (from Alabaster BG)
58 string-bg = "#F1FADF" # Light green - strings
59 string-bg-dark = "#DBECB6" # Darker green - escape sequences
60 definition-bg = "#DBF1FF" # Light blue - definitions
61 comment-bg = "#FFFABC" # Light yellow - comments
62 error-bg = "#FFE0E0" # Light pink - errors
63
64 # Override selection colors (Alabaster BG uses slightly darker selection)
65 selection-primary = "#B4D8FD" # Original Alabaster BG selection
66 selection = "#D5E5F3" # Lighter for secondary selections