Releases: helpscout/seed-color-scheme
Release list
Seed Color Scheme - v0.3.0
Updates
Refactor with seed-config ✨
The _color() mixin/function has been generalized and abstracted out into a dedicated seed-config Pack as _config().
seed-color-scheme's main mixin/function will stay as _color().
Code wise, it is now a simple wrapper for _color(), and works like so:
@import "pack/seed-config/_index";
@mixin _color($colors...) {
@include _config(SEED_COLOR_SCHEME__GLOBAL, $colors...);
}No change is required on the user's end. ❤️
Resolves: #9
Seed Color Scheme - v0.2.0
Updates
Add support for default values 🙌
This update provides the _color() mixin to support functionality that's similar to Sass' !default flag.
You can do this by passing default as the final argument when you define a color:
@include _color((
orange: (
default: orange,
red: orangered,
),
), default);The default color scheme has been updated so that the colors are set with this default setting.
This ensures the seed-color-scheme pack can be @import without fear of unexpected overrides.
This change is important as it allows other packs to create flexible palettes that allow users to easily override default colors.
Resolves: #7
Seed Color Scheme - v0.1.1
Updates
🔧 Adding missing defaults
Previously, the main colors from blue -> orange were missing a default key.
This prevented the function of _color(blue) from working correctly.
This update adds the defaults to all the colors in the palette.
A test has been added as well.
Seed Color Scheme - v0.1.0
Updates ✨
Providing a default color palette (and namespaces) 🖌
This update provides a full color palette from Help Scout. Several handy namespaces have also been setup by default, similar to variables you might find in something like Bootstrap (such as brand or state).
This allows you to work with a color scheme right away!
Deep extending color setting 🤓
Adding color configs no longer totally override previous settings, thanks to deep-extned. That means if you had a (complex) nested map under the color blue. Adding a simple map under blue won't wreck your previous complex map :).
Update notes 🗒
- Update
_config.scssto bring in colors fromseed-colorscheme-helpscoutto use as default colors - Add namespaces for colors under brand, background, border, text, and states
- Add
_deep-extend()function (modifying_extendfromseed-dash) - Remove
seed-dashas a dependency as it is no longer needed - Add tests for all the changes with Seed Barista (v0.4.0)
Resolves: #4
Seed Color Scheme - v0.0.1
Initial release!
Migrated repo over from seed-color-fn