PowerCSS 1.3 released

Run-time styling just got better

PowerCSS 1.3 released

Overview

On 2016-09-12 we released version 1.3 of the MIT licensed PowerCSS JavaScript library. PowerCSS provides many of the features of Stylus, {less}, or Sass but with JavaScript-powered run-time styling. It could make your static CSS files obsolete. Installation couldn’t be easier thanks to npm: npm install powercss.

Recent changes

Key changes in version 1.3 include:

  • Keyword definition moved to a separate file, pcss.cfg.js
  • Removed bower support
  • Added setStyleAttr method which can change selectors after the stylesheet has been written.
  • Fully backward compatible to 1.0 API.
npm install powercss
cd node_modules/powercss
npm install # dev dependencies
npm test

The future

We still want per-cascade double-buffered stylesheets so that each feature module can cleanly control its own styling. That feature is now is slated for version 1.4.

What would you like to see in PowerCSS? Send me a note, file an issue, or send a pull request at our GitHub repository. Constructive feedback, questions, and collaborators are always welcome!

Cheers, Mike

Written on March 2, 2017