-
Notifications
You must be signed in to change notification settings - Fork 0
“Sass for Wordpress” enables the use of Sass (Syntactically Awesome StyleSheets) in Wordpress projects.
rspindel/sass-for-wordpress
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Sass for Wordpress === Contributors: 80beans Tags: sass, css Requires at least: 2.0 Tested up to: 2.8.4 "Sass for Wordpress" enables you to use Sass (Syntactically Awesome StyleSheets) in your Wordpress project. == Description == "Sass for Wordpress" enables you to use Sass ([Syntactically Awesome StyleSheets](http://sass-lang.com/)) in your Wordpress project. == Installation == First, you need to have the Haml gem installed on your server to use the plugin (Sass comes bundled with Haml). Please have a look at the Sass website for [installation instructions for Haml/Sass](http://sass-lang.com/download.html). Second, your PHP version needs to be 5+ and shouldn't run in safe mode. We need to use the exec() function to run the command line tool to transform Sass into CSS. If you're sure you have done the above, you are ready to go (syntax below)! == Changelog == = 1.0 = * Initial release. == Usage/syntax == Simply refer to your Sass file by using the sass('filename') function. For instance, to use a style.sass file in your theme directory (which will be transformed into style.css), put this in your head: <link rel="stylesheet" href="<?php echo sass('style'); ?>" type="text/css" media="screen" />
About
“Sass for Wordpress” enables the use of Sass (Syntactically Awesome StyleSheets) in Wordpress projects.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published