Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Releases: Financial-Times/o-colors

Fixes demos

07 Jan 12:41
Compare
Choose a tag to compare

Adds new Next colours

21 Oct 10:07
Compare
Choose a tag to compare

v3.2.0

25 Sep 10:36
Compare
Choose a tag to compare

Update demos to ES6 and OBT v4 compliance. Source is unchanged.

Next FT colour palette

27 Aug 11:38
Compare
Choose a tag to compare

This is a stable base for the new Next FT designs.

See Next FT's styleguide for documentation.

Thanks to @pauloneillft @simonwilliamsFT @adgad and @keirog for their contributions.

Remove unused colours

27 Aug 11:16
Compare
Choose a tag to compare
Remove unused colours Pre-release
Pre-release

Last beta before release.

v3.1.0-beta.4

27 Aug 10:48
Compare
Choose a tag to compare
v3.1.0-beta.4 Pre-release
Pre-release

Add colors teal-1 and teal-2, as replacements for link-1 and link-2.

Adds more Next colours

24 Aug 13:10
Compare
Choose a tag to compare
Pre-release

v3.1.0-beta.2

01 Jul 13:46
Compare
Choose a tag to compare
v3.1.0-beta.2 Pre-release
Pre-release
  • Amended red-1 to improve accessibility

v3.1.0: Next FT color palette edition

16 Jun 15:43
Compare
Choose a tag to compare
Pre-release

Work on the next branch will enable the Next team to iterate and experiment without disrupting other components.

v3.0.0

16 Jun 15:52
Compare
Choose a tag to compare

New features

  • The colour palette is now fully extensible by products

  • New oColorsSetColor() helper function to add a new color to a palette

    @include oColorsSetColor('grey-tint20', #cccccc);
    @include oColorsSetUseCase(email, text, 'grey-tint20');
    
    .test-custom-use-case {
        @include oColorsFor(email);
    }
  • Non-destructive fallbacks:

    div {
        color: oColorsGetColorFor(undefined-use-case);
        // v2.x.x outputs:    `color: transparent`
        // v3.0.0 outputs:    nothing
    }

Other changes

  • Removes deprecated use cases (see 89fe71a)
  • Improves test coverage
  • Uses LibSass (via node-sass) to run the tests
  • Fixes for Sass 3.4 in compressed output mode

#87