Awesome
RenoirSt
A DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk
Quick links
Goals
- Improve CSS integration with existing Web Frameworks
- Write & refactor in Smalltalk, deploy to CSS
Benefits
- Keep in sync your code changes with the changes in the CSS
- Use your favorite browsing and refactoring tools inside the same Pharo image to handle CSS
License
- The code is licensed under MIT.
- The documentation is licensed under CC BY-SA 4.0.
Installation
To load the project in a Pharo image follow these instructions.
Now you can try the Hello World:
CascadingStyleSheetBuilder new
declareRuleSetFor: [:selector | selector body before]
with: [:style | style content: '"Hello World"'];
build
you should see something like this:
body::before
{
content: "Hello World";
}
Contributing
Check the Contribution Guidelines