mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: hsl/hsv support for css %
This commit is contained in:
@@ -415,6 +415,7 @@ function parseColorWithAlpha(value: string): any {
|
||||
const parts = value
|
||||
.replace(/(rgb|hsl|hsv)a?\(/, '')
|
||||
.replace(')', '')
|
||||
.replace(/%/g, '')
|
||||
.trim()
|
||||
.split(',');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user