Closed VinSpee closed 8 years ago
Released in 2.0
Do you use PostCSS soltuion in TED?
@ai we do use some now (autoprefixer on all projects) and more in the near future (this library I'm authoring).
Would be great to support the comment syntax below. Currently the plugin only supports comments on their own line.
$green: #80b832;
*.green /* color: <<$(green)>> */
{
color: $green !important;
}
Hi!
I'm writing a library that generates many classes. I'd like to use mdcss to document it, and i'd like to generate the docs in the CSS. I'm using postcss-each & postcss-for to generate class names and values, and I'd like to also generate values in comments, which they rely on postcss-simple-vars for. Here's what I mean:
input
}
/*--- title: Font Size section: Typography
*/ .font-small, .font-small { font-size: .5rem; }
/*--- title: Font Size section: Typography
*/ .font-med, .font-med { font-size: 1rem; }
/*--- title: Font Size section: Typography
*/ .font-large, .font-large { font-size: 3rem; }