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:
@@ -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')) {
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user