Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 698 Bytes

function-quote-no-quoted-strings-inside.md

File metadata and controls

45 lines (32 loc) · 698 Bytes

Pattern: Quoted string in quote function

Issue: -

Description

Disallow quoted strings inside the quote function.

Examples

true

The following patterns are considered violations:

a {
  font-family: quote("Helvetica");
}
$font: "Helvetica";
p {
  font-family: quote($font);
}

The following patterns are not considered violations:

a {
  color: quote(blue);
}
$font: Helvetica;
p {
  font-family: quote($font);
}

Further Reading