Skip to content

Commit 9e92ad4

Browse files
committed
#52 Fennec: fix SvgFilters in OBS
1 parent 6b8ae1b commit 9e92ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/themes/fennec/svg-filters/svg-filters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
filters() {
1717
return this.colorVariables.map((variable) => {
1818
const rgb = getComputedStyle(document.documentElement).getPropertyValue(`--${variable}-rgb`)
19-
const [r, g, b] = rgb.split(/\D+/).map((n) => Number(n))
19+
const [r, g, b] = rgb.trim().split(/\D+/).map((n) => Number(n))
2020

2121
return {
2222
id: `${variable}-from-white-filter`,

0 commit comments

Comments
 (0)