commit: 5384d3b7a2d006d5d760680170b9998bf115862a
parent 482f353f4d01a4beeced0c7fe9ea915589643dec
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 15 Aug 2024 20:43:11 +0300
fix solid color highlight
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/services/user_highlighter/user_highlighter.js b/src/services/user_highlighter/user_highlighter.js
@@ -27,7 +27,11 @@ const highlightStyle = (prefs) => {
}
} else if (type === 'solid') {
return {
- backgroundColor: tintColor2,
+ backgroundImage: [
+ 'repeating-linear-gradient(90deg,',
+ `${tintColor} ,`,
+ `${tintColor} 20px`
+ ].join(' '),
...customProps
}
} else if (type === 'side') {