https://github.com/fantasyui-com/revolutionize
PostCSS based web application skinning strategy. [CLI, CSS, Web Design]
https://github.com/fantasyui-com/revolutionize
Last synced: 8 months ago
JSON representation
PostCSS based web application skinning strategy. [CLI, CSS, Web Design]
- Host: GitHub
- URL: https://github.com/fantasyui-com/revolutionize
- Owner: fantasyui-com
- License: gpl-3.0
- Created: 2017-07-24T15:13:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T16:16:30.000Z (about 2 years ago)
- Last Synced: 2024-09-19T05:19:12.489Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 891 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# revolutionize
PostCSS based web application skinning strategy. This is a PostCSS plugin that will append new CSS properties to existing CSS rules. New CSS properties are loaded from a theme. See [cgui](https://github.com/fantasyui-com/cgui) for CLI.
## Plugin Function
All this library does is match selectors, extract rules from a template, and inject them into the CSS being processed.
## Example Scenario
Imagine that you really love round buttons. You create a "my-perfect-button.css" stylesheet, and now all you have to do is say: Hey! new-thing-i-found.css has ugly buttons, let's ```revolutionize``` all those buttons by stating ```.btn is a button``` therefore get all button properties from "my-perfect-button.css" and append them into new-thing-i-found.css's .btn rules.