Skip to content

'color-function-notation' rule is incompatible with SCSS rgb($color, $alpha) format #172

@WillowHayward

Description

@WillowHayward

Hi all - bit of an edge case here, but seemed worth reporting.

In this repository's ruleset, the 'color-function-notation' rule is set to 'modern' (inherited from here )

However, this modifies code like rgb(black, 0.5); to rgb(black 0.5); - causing compilation errors, as SASS supports the format rgb($color, $alpha) but not rgb($color $alpha)

https://sass-lang.com/documentation/modules#rgb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions