Changeset 1001933
- Timestamp:
- 10/05/2014 04:25:19 AM (11 years ago)
- Location:
- less-compiler
- Files:
-
- 2 edited
-
tags/1.5/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
less-compiler/tags/1.5/readme.txt
r1001930 r1001933 25 25 - Configure the plugin with the `less_configuration` filter. 26 26 27 ```28 add_filter( 'less_configuration', 'my_less_config' );29 function my_less_config( $defaults ) {30 $variables = array( 'less/variables.less' );31 $imports = array(32 'less/bootstrap.less',33 'less/theme.less'34 );35 return array(36 'variables' => $variables,37 'imports' => $imports38 );39 }40 ```41 42 27 Configuration of the plugin is optional, but you should at least register your variables if you are using a CSS framework. 43 28 -
less-compiler/trunk/readme.txt
r1001930 r1001933 25 25 - Configure the plugin with the `less_configuration` filter. 26 26 27 ```28 add_filter( 'less_configuration', 'my_less_config' );29 function my_less_config( $defaults ) {30 $variables = array( 'less/variables.less' );31 $imports = array(32 'less/bootstrap.less',33 'less/theme.less'34 );35 return array(36 'variables' => $variables,37 'imports' => $imports38 );39 }40 ```41 42 27 Configuration of the plugin is optional, but you should at least register your variables if you are using a CSS framework. 43 28
Note: See TracChangeset
for help on using the changeset viewer.