What is jsCSS?
jsCSS is a Komodo macro that allows you to use JavaScript in CSS files. You can set variables, mix colours, perform calculations and much more. Check out the example .jscss file.
jsCSS also optimises your files using CSSTidy.
How to Install
Step 1:
Step 2
- Fire up Komodo 5
- Select Toolbox -> Import Package and load the KPZ file
- Right click on jsCSS inside your toolbox and select Edit Macro
- Make sure cssTidyCommand points to where you have installed CSSTidy
Step 3
- Create a new .jscss file
- Make some changes and save the buffer. You should get a .css file in the same directory as your .jscss file
Make sure to check Tips & Tricks on the Wiki.
License
The source code is licensed under the MIT License. You are allowed to use it for both personal and commercial needs.
Wiki
Please feel free to ask questions or send suggestions through the Wiki pages.