Skip to content

Sass class selectors use inline-color plugin #2992

Closed
@benAnima

Description

@benAnima

Information

  • Language: Sass
  • Plugins: inline-color

Description
When prism renders Sass using inline-color plugin, if a class selector has a color name, the inline color preview is displayed.

Code snippet
Test page - though it doesn't display usage of plugins.

image

.lucidagrande-normal-
black-14px 
  color: var(--black)
  font-family: var(--font-family-lucidagrande)
  font-size: var(--font-size-m)

Expected behavior
Class names / any other selector should not use inline-color plugin.

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