Skip to content

ba-st/RenoirSt

 
 

Repository files navigation

RenoirSt

Logo

A DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk

Unit Tests Coverage Status Group loading check Markdown Lint

GitHub release Pharo 7.0 Pharo 8.0 Pharo 9.0 Pharo 10 Pharo 11

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

About

A DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Smalltalk 100.0%