Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Oct 20, 2023
1 parent 6620189 commit 1229be6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/src/value/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1229be6

Please sign in to comment.