From 1229be648b08079d44cd8a2e72dea7d1648a20cd Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Fri, 20 Oct 2023 14:09:46 -0500 Subject: [PATCH] typo --- lib/src/value/color.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/src/value/color.ts b/lib/src/value/color.ts index 16b33a81..fc4db468 100644 --- a/lib/src/value/color.ts +++ b/lib/src/value/color.ts @@ -354,10 +354,7 @@ export class SassColor extends Value { /** Whether `this` is in a legacy color space. */ get isLegacy(): boolean { - return ( - (this.space === 'srgb' && this.format === 'rgb') || - ['hsl', 'hwb'].includes(this.space) - ); + return ['rgb', 'hsl', 'hwb'].includes(this.space); } /** The values of this color's channels (excluding the alpha channel), or