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
add errors and remove stale code
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
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
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
add o colors mix sandbox :tada: (#155) * add o colors mix sanbox * linting
Add contrast checking demo
Also removes use case buttons on palette demo as their functionality was somewhat unclear.
Update contrast ratio calculation
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
v4.3.1 silence null warnings (#152)
Add sass tests
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)
* Only warn of experimental colors once.
v4.2.3: Update branded usecases. (#147)
- 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.