From da3bd2c6fb8e51b303b163812c348fb4ca938f5b Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Tue, 5 Apr 2022 10:24:09 -0700 Subject: [PATCH] fix(css): borderColor parse handling for hsl(a) color values (#9857) --- packages/core/ui/styling/style-properties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/ui/styling/style-properties.ts b/packages/core/ui/styling/style-properties.ts index 8e04803b1..f4704b64a 100644 --- a/packages/core/ui/styling/style-properties.ts +++ b/packages/core/ui/styling/style-properties.ts @@ -876,7 +876,7 @@ function parseBorderColor(value: string): { top: Color; right: Color; bottom: Co bottom: undefined, left: undefined, }; - if (value.indexOf('rgb') === 0) { + if (value.indexOf('rgb') === 0 || value.indexOf('hsl') === 0) { result.top = result.right = result.bottom = result.left = new Color(value); return result;