improvements
This commit is contained in:
parent
4e2cb8c132
commit
f6f2e14c19
3 changed files with 19 additions and 10 deletions
|
|
@ -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-z\\-_]+|\\$[a-z\\-()_]+)',
|
||||
'(#[0-9a-f]{6}|--[a-z0-9\\-_]+|\\$[a-z0-9\\-()_]+)',
|
||||
// opacity (optional)
|
||||
'(?:\\s+\\/\\s+([0-9]+(?:\\.[0-9]+)?)\\s*)?',
|
||||
// name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue