The method signature for the flex-grid-row() method (link here) is:
@include flex-grid-row($behavior, $width, $columns, $base, $gutter) { }
However, after pulling in foundation-sites from npm (via yarn, like so: yarn add foundation-sites), I found that the variable is not named $width but rather, $size. Passing in a $width variable yielded an error mentioning that "no such variable $width exists."
Hi @aflashyrhetoric,
The name of the variable has been updated at #8570, and it a part of the v6.3.0 release. When you installed foundation-sites from npm, you probably installed a release candidate (v6.3.0-``rc1/rc2/rc3) while the documentation was still for v6.2.4.
@kball: It is not the issue here, but it make me think it could be useful to provide a documentation for _several_ versions ?
Ahhhh, I see. Thank you for the clarification @ncoden ! I like the way that Laravel does it, with a little dropdown in the top right. By the way, where was the code for the Sass Reference part of Foundation? I couldn't find it.
It is automatically generated with SassDoc (inside SuperCollider) from the comments above our Sass mixins and functions. For example for $size, see scss/grid/_flex-grid.scss:13
@ncoden definitely worth considering, though the logistics are somewhat tricky.
Most helpful comment
Hi @aflashyrhetoric,
The name of the variable has been updated at #8570, and it a part of the
v6.3.0release. When you installedfoundation-sitesfrom npm, you probably installed a release candidate (v6.3.0-``rc1/rc2/rc3) while the documentation was still forv6.2.4.@kball: It is not the issue here, but it make me think it could be useful to provide a documentation for _several_ versions ?