Highlight mentions in task header and messages

This commit is contained in:
Saoud Rizwan
2024-09-17 19:29:07 -04:00
parent 30ed938ded
commit 57b95acd11
3 changed files with 29 additions and 12 deletions

View File

@@ -146,7 +146,7 @@ vscode-dropdown::part(listbox) {
.mention-context-highlight {
background-color: var(--vscode-textLink-activeForeground, #3794ff);
opacity: 0.3;
border-radius: 2px;
border-radius: 3px;
box-shadow: 0 0 0 0.5px var(--vscode-textLink-activeForeground, #3794ff);
color: transparent;
padding: 0.5px;
@@ -154,3 +154,14 @@ vscode-dropdown::part(listbox) {
position: relative;
bottom: -0.5px;
}
.mention-context-highlight-visible-with-shadow {
background-color: color-mix(in srgb, var(--vscode-badge-foreground) 35%, transparent);
border-radius: 3px;
box-shadow: 0 0 0 0.5px color-mix(in srgb, var(--vscode-badge-foreground) 35%, transparent);
}
.mention-context-highlight-visible-without-shadow {
background-color: color-mix(in srgb, var(--vscode-badge-foreground) 35%, transparent);
border-radius: 3px;
}