From 5384d3b7a2d006d5d760680170b9998bf115862a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 15 Aug 2024 20:43:11 +0300 Subject: [PATCH] fix solid color highlight --- src/services/user_highlighter/user_highlighter.js | 6 +++++- 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 index b5f58040..145b3e5e 100644 --- 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') {