#11820·biome

Support interpolated SCSS attribute names in attr()

Author: denbezrukovCreated Sep 17, 2026Updated Sep 17, 2026
LabelsL-CSS

Description

Biome needs to parse Sass interpolation in the attribute-name position of attr().

scss
$name: data-text;

.a::after {
  content: attr(#{$name});
}