g-plane / malva

Configurable, smart and fast CSS, SCSS, Sass and Less formatter with dprint integration.
https://dprint.dev/plugins/malva
MIT License
78 stars 3 forks source link

Unknown at-ruleset mangles properties #17

Open bartlomieju opened 2 weeks ago

bartlomieju commented 2 weeks ago
@plugin "daisyui/theme" {
    name: "dark";
    prefersDark: true;
}

Output:

@plugin "daisyui/theme" {
  name: "dark";
  prefersdark: true;
}

Expected:

@plugin "daisyui/theme" {
  name: "dark";
  prefersDark: true;
}

Notice that prefersDark has been turned into prefersdark.

Originally reported in https://github.com/denoland/deno/issues/26420.