Releases: helpscout/seed-config
Release list
Seed Config - v0.1.1
Updates
Improve speed for namespaced maps π π¨
A tiny but important update! Changed the merge method for namespaced maps from _deep-extend -> map-merge when updating the global variable.
This DRAMATICALLY reduces the compile speeds of Sass. Our test times reduced from 3s to around 400ms.
Seed Config - v0.1.0
Updates
Add ability to provide custom namespaces π¨
This is a crucial feature that allows other packs to leverage seed-config, as they can configure their own namespace for their variables.
Example:
@function _color($colors...) {
@return _config(SEED_COLOR_PACK__GLOBAL, $colors...);
}
@mixin _color($colors...) {
@include _config(SEED_COLOR_PACK__GLOBAL, $colors...);
}By creating the helper methods above, a color pack allows users to set/access color variables using the new _color mixin/function (instead of having to specify the namespace using _config.
An example of this can be seen in our mock-pack test.
Seed Config - v0.0.1
Initial release π
seed-config abstracts the global var setting abilities of seed-color-scheme, but enhances it to support functionality similar to Sass' default !default.
Although the code is working + tests are written for v0.0.1, this initial release was done primarily to claim the namespace on npm π