Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Comments in rule sets for variable definitions #99

Open
carlcs opened this issue Jul 27, 2014 · 2 comments
Open

Comments in rule sets for variable definitions #99

carlcs opened this issue Jul 27, 2014 · 2 comments
Labels

Comments

@carlcs
Copy link

carlcs commented Jul 27, 2014

All :root {} rule sets with variable definitions are generally removed from the output. But not so if they contain comments. Aiming for a clean CSS file, I'd like to have an option to have these sets (and the comments) removed, too.

:root {
  /* Font stacks */
  --font-family-sans: "Proxima Nova", sans-serif;
  --font-family-serif: serif;
  --font-family-mono: monospace;

  /* More font variables */
  --font-var: normal;
}
:root {
  --var: normal;
}
:root {
  /* Font stacks */

  /* More font variables */
}
@MoOx
Copy link
Contributor

MoOx commented Jul 28, 2014

This shouldnt be that hard to do. Can you please report this issue in rework-vars ?

@MoOx
Copy link
Contributor

MoOx commented Jul 29, 2014

@carlcs if we go for postcss I'll definitely handle this issue ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants