Skip to content

Releases: helpscout/seed-config

Seed Config - v0.1.1

Choose a tag to compare

@ItsJonQ ItsJonQ released this 24 Jul 14:54

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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 24 Jul 03:29

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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 23 Jul 22:20

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 πŸ˜„