On 04/02/2017 18:26, stepharong wrote: > It would be nice to have a palette class with some nice defaults. > Cyril could you package what you have in MDL out of MDL so that we can > add it to Pharo? > > Stef >
I extracted it here: https://github.com/DuneSt/MaterialColors In the future I would like to add some utilities methods for example to choose the font color from the background color following MaterialDesign recommendations. Like that we would not have to care about the readability of a font color if the background changes. (Following https://material.io/guidelines/style/color.html#color-color-schemes) -- Cyril Ferlicot http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France
signature.asc
Description: OpenPGP digital signature