Skip to content

Commit e61b50b

Browse files
authored
theme(wolf-alabaster): Add missing UI scopes (#15159)
Addresses feedback from @Rudxain on #15102. Added scopes: - ui.virtual.inlay-hint: dimmed blue (matches type color but muted) - ui.cursorline, ui.cursorcolumn: subtle line highlighting - ui.virtual.ruler: ruler column background - ui.gutter: gutter background - diagnostic.deprecated: crossed-out styling - tag.error: error styling for malformed markup
1 parent 99ebccb commit e61b50b

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ inherits = "wolf-alabaster-dark"
6262
error = { fg = "error-red", modifiers = ["bold"] }
6363
"diagnostic.error" = { underline = { color = "error-red", style = "curl" } }
6464

65+
# Virtual text - grey in mono (no colored definitions)
66+
"ui.virtual" = { fg = "inlay-hint" }
67+
"ui.virtual.inlay-hint" = { fg = "inlay-hint" }
68+
6569
[palette]
6670
# Dark monochromatic palette
6771
comment-grey = "#777777" # Grey - comments
6872
punctuation-dark = "#555555" # Dark grey - punctuation
6973
string-bg = "#2A2A2A" # Dark grey - strings/constants background
7074
string-bg-dark = "#333333" # Slightly lighter grey - escape sequences
75+
inlay-hint = "#555555" # Dimmed grey - virtual text (type hints)
7176
# Note: error-red, diff-green, diff-red, diff-orange inherited from parent (identical values)

runtime/themes/wolf-alabaster-dark.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ diagnostic = { underline = { style = "curl" } }
3636
"ui.cursor" = { bg = "active", fg = "bg" }
3737
"ui.cursor.primary" = { bg = "active", fg = "bg" }
3838
"ui.cursor.match" = { bg = "highlight" }
39+
"ui.cursorline" = { bg = "cursorline" }
40+
"ui.cursorcolumn" = { bg = "cursorline" }
41+
42+
"ui.gutter" = { bg = "bg" }
3943

4044
"ui.selection" = { bg = "selection" }
4145
"ui.selection.primary" = { bg = "selection-primary" }
@@ -62,11 +66,17 @@ diagnostic = { underline = { style = "curl" } }
6266
# Jump labels - extremely visible
6367
"ui.virtual.jump-label" = { fg = "jump-label", modifiers = ["bold"] }
6468

69+
# Virtual text (inlay hints, etc.) - dimmed type color
70+
"ui.virtual" = { fg = "inlay-hint" }
71+
"ui.virtual.inlay-hint" = { fg = "inlay-hint" }
72+
"ui.virtual.ruler" = { bg = "cursorline" }
73+
6574
# LSP diagnostic inline/expanded text
6675
"diagnostic.error" = { underline = { color = "error-red", style = "curl" } }
6776
"diagnostic.warning" = { underline = { color = "highlight", style = "curl" } }
6877
"diagnostic.info" = { underline = { color = "definition", style = "curl" } }
6978
"diagnostic.hint" = { underline = { color = "punctuation", style = "curl" } }
79+
"diagnostic.deprecated" = { fg = "punctuation", modifiers = ["crossed_out"] }
7080

7181
# SYNTAX HIGHLIGHTING - Following Alabaster's minimal approach
7282
# Only 4 categories get color: strings, constants, comments, definitions
@@ -110,6 +120,7 @@ diagnostic = { underline = { style = "curl" } }
110120

111121
# Special cases
112122
"tag" = { fg = "definition" }
123+
"tag.error" = { fg = "error-red", underline = { style = "line" } }
113124
"attribute" = { fg = "fg" }
114125
"namespace" = { fg = "definition" }
115126
"label" = { fg = "constant" }
@@ -148,7 +159,9 @@ active = "#CD974B" # Golden brown - cursor, active elements (original Alab
148159
highlight = "#FF9800" # Orange - search, warnings
149160
error-red = "#DFDF8E" # Yellow - errors (use comment color for visibility)
150161
panel = "#252526" # Slightly lighter grey - UI panels, menus, popups
162+
cursorline = "#1A2022" # Subtle highlight - cursorline, ruler
151163
jump-label = "#FF6B35" # Bright orange - jump destinations
164+
inlay-hint = "#4A7090" # Dimmed blue - virtual text (type hints)
152165

153166
# Diff colors
154167
diff-green = "#95CB82" # Green - additions (same as string)

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,17 @@ inherits = "wolf-alabaster-light"
6363
error = { fg = "error-red", modifiers = ["bold"] }
6464
"diagnostic.error" = { underline = { color = "error-red", style = "curl" } }
6565

66+
# Virtual text - grey in mono (no colored definitions)
67+
"ui.virtual" = { fg = "inlay-hint" }
68+
"ui.virtual.inlay-hint" = { fg = "inlay-hint" }
69+
6670
[palette]
6771
# Monochromatic palette
6872
comment-grey = "#999999" # Grey - comments
6973
punctuation-light = "#BBBBBB" # Light grey - punctuation
7074
string-bg = "#EEEEEE" # Very light grey - strings/constants background
7175
string-bg-dark = "#D9D9D9" # Slightly darker grey - escape sequences
76+
inlay-hint = "#AAAAAA" # Dimmed grey - virtual text (type hints)
7277

7378
# Override parent colors with more muted tones for monochromatic aesthetic
7479
error-red = "#CC3333" # Red - errors (more muted than parent)

runtime/themes/wolf-alabaster-light.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ diagnostic = { underline = { style = "curl" } }
3636
"ui.cursor" = { bg = "active", fg = "bg" }
3737
"ui.cursor.primary" = { bg = "active", fg = "bg" }
3838
"ui.cursor.match" = { bg = "highlight" }
39+
"ui.cursorline" = { bg = "cursorline" }
40+
"ui.cursorcolumn" = { bg = "cursorline" }
41+
42+
"ui.gutter" = { bg = "bg" }
3943

4044
"ui.selection" = { bg = "selection" }
4145
"ui.selection.primary" = { bg = "selection-primary" }
@@ -62,11 +66,17 @@ diagnostic = { underline = { style = "curl" } }
6266
# Jump labels - extremely visible
6367
"ui.virtual.jump-label" = { fg = "jump-label", modifiers = ["bold"] }
6468

69+
# Virtual text (inlay hints, etc.) - dimmed type color
70+
"ui.virtual" = { fg = "inlay-hint" }
71+
"ui.virtual.inlay-hint" = { fg = "inlay-hint" }
72+
"ui.virtual.ruler" = { bg = "cursorline" }
73+
6574
# LSP diagnostic inline/expanded text
6675
"diagnostic.error" = { underline = { color = "error-red", style = "curl" } }
6776
"diagnostic.warning" = { underline = { color = "highlight", style = "curl" } }
6877
"diagnostic.info" = { underline = { color = "definition", style = "curl" } }
6978
"diagnostic.hint" = { underline = { color = "punctuation", style = "curl" } }
79+
"diagnostic.deprecated" = { fg = "punctuation", modifiers = ["crossed_out"] }
7080

7181
# SYNTAX HIGHLIGHTING - Following Alabaster's minimal approach
7282
# Only 4 categories get color: strings, constants, comments, definitions
@@ -110,6 +120,7 @@ diagnostic = { underline = { style = "curl" } }
110120

111121
# Special cases
112122
"tag" = { fg = "definition" }
123+
"tag.error" = { fg = "error-red", underline = { style = "line" } }
113124
"attribute" = { fg = "fg" }
114125
"namespace" = { fg = "definition" }
115126
"label" = { fg = "constant" }
@@ -148,7 +159,9 @@ active = "#007ACC" # Bright blue - cursor, active elements
148159
highlight = "#FFBC5D" # Orange - search, warnings
149160
error-red = "#AA3731" # Red - errors
150161
panel = "#EEEEEE" # Darker grey - UI panels, menus, popups
162+
cursorline = "#EFEFEF" # Subtle highlight - cursorline, ruler
151163
jump-label = "#FF4500" # Bright orange-red - jump destinations
164+
inlay-hint = "#8090B8" # Dimmed blue - virtual text (type hints)
152165

153166
# Diff colors
154167
diff-green = "#448C27" # Green - additions (same as string)

0 commit comments

Comments
 (0)