-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foundation 6: Switch to cssnext #6533
Comments
I highly doubt they'd do the switch but I think it would be an excellent idea. 👍 |
Boostrap already think about postcss and I think if you want to ditch less/sass cssnext is the better to do that for some future-proof code easily. |
While I'm a big fan of cssnext (I especially like using the W3C syntax for colour manipulations) large frameworks like Foundation should consider the potential fragility of W3C specs. |
For huge changes, I plan to provide simple scripts to allow people to upgrade their code. |
@MoOx I like the stages idea a lot. Something Stage 2 and above is usually fairly stable. 👍 |
I'm definitely very interested in trying out cssnext with foundation 👍 |
👍 |
why? to do what exactly? What can be done with CSS next that can't be done with CSS right now? Give me the top 5 things? This is just a post-processor for the future css syntax / capabilities? But more importantly can preprocessing SASS/SCSS still be used with cssnext to achieve both benefits. See that's the point... I don't know if it is on purpose but it seems as if this posprocessor is supposed to replace preproccesors but that is not what it is supposed to do at all I think. Shouldn't they work together? |
@xtianus79 they absolutely can work together, but don't necessarily need to. In my mind, the benefit of PostCSS is how modular it is. You essentially build your own processor to fit your own needs, using plugins to add on the functionality your project calls for. The end result is more lightweight code, since you're eliminating many advanced features you don't need. For example, in my case - all I really need are mixins, nested CSS, and variables (which I implemented using cssnext as opposed to SASS). Admittedly, I'm still learning PostCSS, but as an exercise I'm building out a starter kit that completely leaves out SASS, without losing any of the above benefits that I would personally need, while leaving out all the extra overhead that I don't. |
Sorry to be that guy but it's cssnext, not |
Aaand updated ;) |
It would be good for a later version. Foundation 6 will be SCSS but we'll revisit it for Foundation for Sites 7. In the meantime we have this topic thread open: #6196 |
cssnext is a great new project giving us CSS4+ syntax, which are the most of the features sass supports but more importantly it does not give you any new syntax, but everything you learn here is and will be useful to write css.
Also it is faster than libsass, seems pretty active and the community around it growing with it already having grunt, gulp and broccoli support.
The text was updated successfully, but these errors were encountered: