Fix warnings when compiling SCSS
Foundation was using `!global` for non-existing variables, which generated a warning on our current version of Sass. This is (mostly) fixed on the latest version of Foundation. However, this latest version isn't included in the `foundation-rails` gem, so we can't upgrade yet. So we're defining these variables before Foundation does so. See issue 12080 in the foundation/foundation-sites repository for more information.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
// 1. Foundation settings overrides
|
||||
// 2. CONSUL variables
|
||||
// 3. Foundation overrides depending on CONSUL variables
|
||||
// 4. Foundation fixes
|
||||
|
||||
// 1. Foundation settings overrides
|
||||
// ---------------------------------
|
||||
@@ -154,3 +155,14 @@ $tab-content-border: $border !default;
|
||||
$closebutton-color: $text !default;
|
||||
|
||||
$tooltip-background-color: $brand !default;
|
||||
|
||||
// 4. Foundation fixes
|
||||
// -------------------
|
||||
|
||||
$alert-color: null !default;
|
||||
$primary-color: null !default;
|
||||
$secondary-color: null !default;
|
||||
$success-color: null !default;
|
||||
$warning-color: null !default;
|
||||
$-zf-bp-value: null !default;
|
||||
$-zf-size: null !default;
|
||||
|
||||
Reference in New Issue
Block a user