Debian Codegraph @

contrib/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
44 # MARKUP overrides
45 "markup.heading" = { fg = "fg", bg = "definition-bg", modifiers = ["bold"] }
46 "markup.link.url" = { fg = "fg", bg = "string-bg", modifiers = ["underlined"] }
47 "markup.link.text" = { fg = "fg", bg = "definition-bg" }
48 "markup.quote" = { fg = "fg", bg = "comment-bg" }
49 "markup.raw" = { fg = "fg", bg = "string-bg" }
50
51 # DIFF overrides
52 "diff.plus" = { fg = "fg", bg = "string-bg" }
53 "diff.minus" = { fg = "fg", bg = "error-bg" }
54
55 [palette]
56 # Add background colors for BG variant (from Alabaster BG)
57 string-bg = "#F1FADF" # Light green - strings
58 string-bg-dark = "#DBECB6" # Darker green - escape sequences
59 definition-bg = "#DBF1FF" # Light blue - definitions
60 comment-bg = "#FFFABC" # Light yellow - comments
61 error-bg = "#FFE0E0" # Light pink - errors
62
63 # Override selection colors (Alabaster BG uses slightly darker selection)
64 selection-primary = "#B4D8FD" # Original Alabaster BG selection
65 selection = "#D5E5F3" # Lighter for secondary selections