Added Less Framework 4

Addition of the Less Framework 4 (http://lessframework.com/) to CSS frameworks on top of changes to the CSS frameworks code refactoring by swalkinshaw in commit 539198a.
This commit is contained in:
robboles
2011-07-12 15:08:55 -05:00
parent 539198ac83
commit f2650112b2
4 changed files with 180 additions and 0 deletions

View File

@@ -93,6 +93,8 @@ function roots_get_stylesheets() {
$styles .= "\t<noscript>\n";
$styles .= stylesheet_link_tag('/adapt/mobile.css', 1);
$styles .= "\t</noscript>\n";
} elseif ($roots_css_framework === 'less') {
$styles .= stylesheet_link_tag('/less/less.css');
}
if (class_exists('RGForms')) {

View File

@@ -99,6 +99,15 @@ $roots_css_frameworks = array(
'sidebar' => 'grid_4'
)
),
'less' => array(
'name' => 'less',
'label' => __('Less Framework 4', 'roots'),
'classes' => array(
'container' => 'container',
'main' => 'grid_6',
'sidebar' => 'grid_4'
)
),
'none' => array(
'name' => 'none',
'label' => __('None', 'roots'),