Skip to content

Releases: helpscout/seed-color-scheme

Seed Color Scheme - v0.3.0

Choose a tag to compare

@ItsJonQ ItsJonQ released this 24 Jul 15:24

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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 23 Jul 03:59

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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 29 Jun 14:56

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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 20 May 01:24

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.scss to bring in colors from seed-colorscheme-helpscout to use as default colors
  • Add namespaces for colors under brand, background, border, text, and states
  • Add _deep-extend() function (modifying _extend from seed-dash)
  • Remove seed-dash as 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

Choose a tag to compare

@ItsJonQ ItsJonQ released this 18 Jul 22:26

Initial release!

Migrated repo over from seed-color-fn