From 4af8a307eeabf9517ca2fb477f12c7e31823bda9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 25 Nov 2024 21:59:00 +0200 Subject: [PATCH] allow spaces inside function definition --- src/services/theme_data/iss_deserializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/theme_data/iss_deserializer.js b/src/services/theme_data/iss_deserializer.js index 196007e6..55a596a5 100644 --- a/src/services/theme_data/iss_deserializer.js +++ b/src/services/theme_data/iss_deserializer.js @@ -15,7 +15,7 @@ export const deserializeShadow = string => { // spread (optional) '(?:(-?[0-9]+(?:\\.[0-9]+)?)\\s+)?', // either hex, variable or function - '(#[0-9a-f]{6}|--[a-z0-9\\-_]+|\\$[a-z0-9\\-()_]+)', + '(#[0-9a-f]{6}|--[a-z0-9\\-_]+|\\$[a-z0-9\\-()_ ]+)', // opacity (optional) '(?:\\s+\\/\\s+([0-9]+(?:\\.[0-9]+)?)\\s*)?', // name