Display icon next to primary message
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 10C7.76142 10 10 7.76142 10 5C10 2.23858 7.76142 0 5 0C2.23858 0 0 2.23858 0 5C0 7.76142 2.23858 10 5 10ZM2.68306 3.56694L4.11612 5L2.68306 6.43306L3.56694 7.31694L5 5.88388L6.43306 7.31694L7.31694 6.43306L5.88388 5L7.31694 3.56694L6.43306 2.68306L5 4.11612L3.56694 2.68306L2.68306 3.56694Z" fill="#EF4444"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 464 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 10H0V8L4.375 0H5.625L10 8V10ZM4.375 2.66667H5.625V6H4.375V2.66667ZM4.375 7.33333H5.625V8.66667H4.375V7.33333Z" fill="#FDE047"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 284 B |
@@ -258,12 +258,13 @@ invalid_hint_diagnostic = { text = "$text.3.color" }
|
||||
|
||||
[editor.diagnostic_path_header]
|
||||
filename = { extends = "$text.0", size = 14 }
|
||||
path = { extends = "$text.1", size = 14, margin.left = 4 }
|
||||
path = { extends = "$text.2", size = 14, margin.left = 12 }
|
||||
|
||||
[editor.diagnostic_header]
|
||||
background = "$state.active_line"
|
||||
border = { width = 1, top = true, bottom = true, color = "$border.0" }
|
||||
text = { extends = "$text.1", size = 14 }
|
||||
icon = { width = 10, margin.right = 8 }
|
||||
|
||||
[editor.diagnostic_header.highlighted_text]
|
||||
extends = "$editor.diagnostic_header.text"
|
||||
|
||||
Reference in New Issue
Block a user