fix: thinner outline for highlights with .color

This commit is contained in:
Felix Roos 2023-05-12 10:06:55 +02:00
parent 0fda83d8de
commit d74cc234c4

View File

@ -67,7 +67,7 @@ const highlightField = StateField.define({
}
let mark;
if (color) {
mark = Decoration.mark({ attributes: { style: `outline: 4px solid ${color};` } });
mark = Decoration.mark({ attributes: { style: `outline: 2px solid ${color};` } });
} else {
mark = Decoration.mark({ attributes: { class: `outline outline-2 outline-foreground` } });
}