readium / readium-css

🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
https://readium.org/readium-css/
BSD 3-Clause "New" or "Revised" License
90 stars 20 forks source link

Future proofing with CSS next? #15

Closed JayPanoz closed 6 years ago

JayPanoz commented 6 years ago

We’re already using PostCSS to ease the setup (concat files, stylelint, etc.) so I was wondering if implementers would be OK using CSS Next to “Use tomorrow’s CSS syntax, today.”

Benefits:

Caveats:

So, worst case scenario, that could become a barrier to entry. However, we’re likely to use it to make styles more readable. To sum things up, we could use it sporadically, to improve authoring a little bit, and skip the more complex features.

JayPanoz commented 6 years ago

For the sake of objectivity, here is a CSS-Tricks article discussing important issues related to that.

JayPanoz commented 6 years ago

Given CSS Next is just a set of postcss plugin, let’s close this issue. Implementers can indeed choose the tools they want to use so I prefer not to impose this one, given the few benefits it could bring compared to a custom config.