We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18560c4 commit be4014cCopy full SHA for be4014c
highlight-helper.js
@@ -836,7 +836,7 @@ function Highlighter(options = hhDefaultOptions) {
836
}
837
838
if (changeType === 'appearance') {
839
- this.annotatableContainer.style = `--hh-color: ${colorString}`;
+ this.annotatableContainer.style.setProperty('--hh-color', `${colorString}`);
840
841
// Update selection background
842
if (activeHighlightId && options.drawingMode === 'svg') {
0 commit comments