allow spaces inside function definition
This commit is contained in:
parent
fdc9d8dc72
commit
4af8a307ee
|
@ -15,7 +15,7 @@ export const deserializeShadow = string => {
|
||||||
// spread (optional)
|
// spread (optional)
|
||||||
'(?:(-?[0-9]+(?:\\.[0-9]+)?)\\s+)?',
|
'(?:(-?[0-9]+(?:\\.[0-9]+)?)\\s+)?',
|
||||||
// either hex, variable or function
|
// 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)
|
// opacity (optional)
|
||||||
'(?:\\s+\\/\\s+([0-9]+(?:\\.[0-9]+)?)\\s*)?',
|
'(?:\\s+\\/\\s+([0-9]+(?:\\.[0-9]+)?)\\s*)?',
|
||||||
// name
|
// name
|
||||||
|
|
Loading…
Reference in a new issue