variable $wordpress

This commit is contained in:
Raphael 2019-07-19 10:27:01 +02:00
parent 18e7b3698e
commit 3182e3088f
3 changed files with 19 additions and 7 deletions

View file

@ -42,11 +42,19 @@
@import "base/layout"; // alignment, modules, positionning
@import "base/utilities"; // width and spacer helpers
@import "base/responsive"; // Responsive Web Design helpers
// @import "base/wordpress"; // WordPress reset and basic styles
// New Grid System by default (Grid Layout). If you prefer old "Flexbox" Grid System, replace file with "base/grillade-flex"
// Note that none of these files are prefixed by an underscore, in order to compile them.
@import "base/grillade-grid"; // grid system with Grid Layout
// WordPress reset and basics (loaded if $wordpress variable is true).
@if variable-exists(wordpress) and $wordpress==true {
@import "base/wordpress"; // WordPress reset and basic styles
}
// Grid System (Grid Layout chosen if $ie variable is true).
@if variable-exists(ie) and $ie==true {
@import "base/grillade-flex"; // grid system with Flexbox (old version)
} @else {
@import "base/grillade-grid"; // grid system with Grid Layout
}
// Components
@import "components/alerts"; // alerts styles