]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add "alert" as required map value to $foundation-palette 9229/head
authorsprrw <166162@gmail.com>
Wed, 5 Oct 2016 02:57:13 +0000 (05:57 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2016 02:57:13 +0000 (05:57 +0300)
Undefined "alert" color in $foundation-palette breaks SCSS compilation. Documentation incorrectly identifies "primary" as the only required value in the user redefined map.

docs/pages/global.md

index 4d6d4fa0e3e97cd7fb8b7ecf121c11ee656200c1..c2f8228e544b286ca69d9be3cf6fd961b169f8a9 100644 (file)
@@ -83,7 +83,7 @@ Many components can also be colored with four other colors: secondary, alert, su
   </div>
 </div>
 
-If you're using the Sass version of Foundation, it's possible to edit the default color palette, by changing the `$foundation-palette` variable in your settings file. The only required color is one named "primary". The names used in the palette will be output as CSS classes.
+If you're using the Sass version of Foundation, it's possible to edit the default color palette, by changing the `$foundation-palette` variable in your settings file. The only required colors are ones named "primary" and "alert". The names used in the palette will be output as CSS classes.
 
 ```scss
 $foundation-palette: (