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

add errors and remove stale code

24 Aug 11:53
fdf1afd
Compare
Choose a tag to compare
add errors to avoid compilation errors (#159)

* 🐒

* ermahgerd syntax

* small fix to mixes

* syntax ):

* correct path

* remove whitelabel for now

* rm buttons

* remove lots of complicated code, commented code, unused code

* deboop

Separate master + internal palettes

23 Aug 14:44
df70e83
Compare
Choose a tag to compare

MASTER

Primary:

  • black
  • white
  • oxford
  • teal
  • claret
  • paper

Secondary:

  • slate
  • lemon
  • wheat
  • mandarin
  • valvet

Tertiary:

  • jade
  • crimson
  • wasabi
  • candy

B2C:

  • org-b2c
  • org-b2c-light
  • org-b2c-dark

INTERNAL

Primary:

  • black
  • white
  • oxford
  • teal

Secondary:

  • slate
  • lemon

Tertiary:

  • jade
  • crimson

Experimental:

  • slate-white-5
  • slate-white-15

fix sandbox demo

20 Aug 11:31
35561f4
Compare
Choose a tag to compare
Fix sandbox demo (#156)

* demo

* update demo behaviour and fix string replacement

* unnecessary dep

* cleanup, sorta

* i borked it, i fixed it

* fix color contrast

add oColorMix sandbox demo

17 Aug 15:39
9f59fc4
Compare
Choose a tag to compare
add o colors mix sandbox :tada: (#155)

* add o colors mix sanbox

* linting

Add contrast checking demo

15 May 14:43
Compare
Choose a tag to compare

Also removes use case buttons on palette demo as their functionality was somewhat unclear.

Update contrast ratio calculation

24 Apr 13:22
591b3ca
Compare
Choose a tag to compare
Ratio update (#153)

* add mathsass

* remove less accurate math functions

* add decimals to floor

* ignore bower components

* reference math functions

* update jade

* add pass/fail tests for all colours in palette

* whoops

* update dependencies

silence unnecessary warnings

20 Apr 15:39
a7e4acb
Compare
Choose a tag to compare
v4.3.1

silence null warnings (#152)

Add sass tests

20 Apr 09:42
5b6f4e8
Compare
Choose a tag to compare
True test (#142)

* set up testing folders

* test math functions

* test color functions

* test a11y functions

* allow for error testing

* test oColor functions v1

* allow for warn testing

* test oColor functions v2

* test oColor functions v2

* change returned color in oColorGetColorFor mixin

* test oColor functions v3

* test oColor mixins v1

* return null if value null when warning

* linting

* remove warn helper, it doesnt help

* remove test-runner to prep for true in obt

v4.2.4: Remove warning as it is spamming clients. (#149)

27 Mar 11:03
da5bd79
Compare
Choose a tag to compare
* Only warn of experimental colors once.

v4.2.3: Update branded usecases. (#147)

21 Mar 11:49
83a1d5b
Compare
Choose a tag to compare
- Fallback to master brand usecases if the requested brand has no usecases.
- Add whitelabel usecases.
- Remove unnecessary internal brand usecases -- hypocritical considering previous feedback recommending the contrary.