This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
Releases: Financial-Times/o-colors
Releases · Financial-Times/o-colors
Fixes demos
Adds new Next colours
v3.2.0
Next FT colour palette
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
Last beta before release.
v3.1.0-beta.4
Add colors teal-1 and teal-2, as replacements for link-1 and link-2.
Adds more Next colours
v3.1.0-beta.2
- Amended red-1 to improve accessibility
v3.1.0: Next FT color palette edition
Work on the next
branch will enable the Next team to iterate and experiment without disrupting other components.
v3.0.0
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