diff --git a/src/options.js b/src/options.js index 1456537ce2..69c38a682d 100644 --- a/src/options.js +++ b/src/options.js @@ -273,6 +273,7 @@ export function isColor(value) { return value === "none" || value === "currentcolor" || (value.startsWith("url(") && value.endsWith(")")) // , e.g. pattern or gradient + || (value.startsWith("var(") && value.endsWith(")")) // CSS variable || color(value) !== null; }