Style diagnostic header's border in light and dark theme
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
dedd5d63fb
commit
0263ea289c
@@ -258,7 +258,7 @@ path = { extends = "$text.2", size = 14, margin.left = 12 }
|
|||||||
text_scale_factor = 0.857
|
text_scale_factor = 0.857
|
||||||
|
|
||||||
[editor.diagnostic_header]
|
[editor.diagnostic_header]
|
||||||
border = { width = 1, top = true, bottom = true, color = "#ffffff1c" }
|
border = { width = 1, top = true, bottom = true, color = "$border.1" }
|
||||||
code = { extends = "$text.2", size = 14, margin.left = 10 }
|
code = { extends = "$text.2", size = 14, margin.left = 10 }
|
||||||
icon_width_factor = 1.5
|
icon_width_factor = 1.5
|
||||||
text_scale_factor = 0.857
|
text_scale_factor = 0.857
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ extends = "_base"
|
|||||||
|
|
||||||
[border]
|
[border]
|
||||||
0 = "#000000B2"
|
0 = "#000000B2"
|
||||||
|
1 = "#FFFFFF16"
|
||||||
|
|
||||||
[text]
|
[text]
|
||||||
0 = { extends = "$text.base", color = "#ffffff" }
|
0 = { extends = "$text.base", color = "#ffffff" }
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ extends = "_base"
|
|||||||
|
|
||||||
[border]
|
[border]
|
||||||
0 = "#1B222B"
|
0 = "#1B222B"
|
||||||
|
1 = "#FFFFFF16"
|
||||||
|
|
||||||
[text]
|
[text]
|
||||||
0 = { extends = "$text.base", color = "#FFFFFF" }
|
0 = { extends = "$text.base", color = "#FFFFFF" }
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ extends = "_base"
|
|||||||
|
|
||||||
[border]
|
[border]
|
||||||
0 = "#DDDDDC"
|
0 = "#DDDDDC"
|
||||||
|
1 = "#0000000F"
|
||||||
|
|
||||||
[text]
|
[text]
|
||||||
0 = { extends = "$text.base", color = "#000000" }
|
0 = { extends = "$text.base", color = "#000000" }
|
||||||
|
|||||||
Reference in New Issue
Block a user