mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +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;
|
||||
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` } });
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user