mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-24 12:08:28 +00:00
fix: thinner outline for highlights with .color
This commit is contained in:
parent
0fda83d8de
commit
d74cc234c4
@ -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…
x
Reference in New Issue
Block a user