Skip to content

vinai-drive-by-commits/magento-sass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento Sass

Magento extension for using Sass stylesheet language

Features

* Possibility of including sass files that will be automatically converted to css file
* Use of PhpSass (no need to install sass then) or though sass in command line
* Possibility of having debug information css files created

Installation

1. Install this extension though [Magento Connect][1]
2. Just add your sass file in layout using addCss method. This extension will automatically create css file

in medai/sass folder 3. By default this extension use PhpSass library, if you want to use sass in command line instead, change settings in Back Office: System > Configuration > Developer > Sass Settings 4. If you need debug info in css file created, enable in Back Office: System > Configuration > Developer > Sass Settings. You can use then FireSass plugin for FireBug for reading easily debug information.

For example you can add this lines in one of your layout files:

<default>
    <reference name="head">
        <action method="addCss"><stylesheet>css/style.scss</stylesheet></action>
    </reference>
</default>

Compatibiity

This extension is compatible with:

  • Magento CE 1.5, 1.6 and 1.7
  • Magento EE 1.10, 1.11 and 1.12

Locales

Extension available in:

  • English
  • French

Bug Reports

If you find a bug, you can create a ticket.

More informations

Check Magento Connect Sass page for more details.

License

Magento Sass extension is licensed under Open Software License (OSL 3.0)

Changeset

1.0.2

  • Sass available when css merging is used
  • PHPSass updated

1.0.1

Conversion of relative urls to absolute urls in css file

1.0.0

First version of this extension

Packages

No packages published

Languages

  • PHP 100.0%