fix: thinner outline for highlights with .color
This commit is contained in:
parent
0fda83d8de
commit
d74cc234c4
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ const highlightField = StateField.define({
|
||||||
}
|
}
|
||||||
let mark;
|
let mark;
|
||||||
if (color) {
|
if (color) {
|
||||||
mark = Decoration.mark({ attributes: { style: `outline: 4px solid ${color};` } });
|
mark = Decoration.mark({ attributes: { style: `outline: 2px solid ${color};` } });
|
||||||
} else {
|
} else {
|
||||||
mark = Decoration.mark({ attributes: { class: `outline outline-2 outline-foreground` } });
|
mark = Decoration.mark({ attributes: { class: `outline outline-2 outline-foreground` } });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue