feat(color): added utilities and improved color parsing performance (#9110)

This commit is contained in:
farfromrefuge
2021-08-11 19:54:57 +02:00
committed by GitHub
parent 4cad76cb6a
commit 0ff2221d6f
4 changed files with 152 additions and 154 deletions

View File

@ -22,7 +22,7 @@ export class LinearGradient {
}
return {
color: new Color(color.argb),
color: color.color,
offset: offsetUnit,
};
});