[Bloc] MDLColor and new gradient
Hi Guillaume Larcheveque in Telescope added support for MDLColor http://www.materialui.co/colors and nice gradient building. I asked him if we could extract this functionality and move it into Pharo because it will be usefull for Pharo, Bloc, and Roassal. A first step could be to have MDLColor subclass as it is now but the second step would be to rethink Color and palette. May be we should have some Palette And we could have (brainstorming) (ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> .... Stef
Hi 2016-02-23 9:13 GMT+01:00 stepharo <stepharo@free.fr>:
May be we should have some Palette
And we could have (brainstorming)
(ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> ....
What the difference between red colors from different palettes? And why it is not just "MDLPalette red"?
I do not know. May be. Le 23/2/16 10:30, Denis Kudriashov a écrit :
Hi
2016-02-23 9:13 GMT+01:00 stepharo <stepharo@free.fr <mailto:stepharo@free.fr>>:
May be we should have some Palette
And we could have (brainstorming)
(ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> ....
What the difference between red colors from different palettes? And why it is not just "MDLPalette red"?
We will come back to theme, style, colors later. Much later. On Feb 24, 2016 5:16 PM, "stepharo" <stepharo@free.fr> wrote:
I do not know. May be.
Le 23/2/16 10:30, Denis Kudriashov a écrit :
Hi
2016-02-23 9:13 GMT+01:00 stepharo <stepharo@free.fr>:
May be we should have some Palette
And we could have (brainstorming)
(ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> ....
What the difference between red colors from different palettes? And why it is not just "MDLPalette red"?
Ok now I would like to start to have the notion of Palette and Gradient close to Color in Pharo. And Bloc and others can use it. Le 25/2/16 13:32, Aliaksei Syrel a écrit :
We will come back to theme, style, colors later. Much later.
On Feb 24, 2016 5:16 PM, "stepharo" <stepharo@free.fr <mailto:stepharo@free.fr>> wrote:
I do not know. May be.
Le 23/2/16 10:30, Denis Kudriashov a écrit :
Hi
2016-02-23 9:13 GMT+01:00 stepharo <stepharo@free.fr <mailto:stepharo@free.fr>>:
May be we should have some Palette
And we could have (brainstorming)
(ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> ....
What the difference between red colors from different palettes? And why it is not just "MDLPalette red"?
Hi, In my memories, a first implementation of material colors was also made by Alex in Brick packages. This can be a inspiration source, too. ----- Glenn Cavarlé -- View this message in context: http://forum.world.st/Bloc-MDLColor-and-new-gradient-tp4879795p4880198.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
tx for the pointer Le 24/2/16 10:34, Glenn Cavarlé a écrit :
Hi, In my memories, a first implementation of material colors was also made by Alex in Brick packages. This can be a inspiration source, too.
----- Glenn Cavarlé -- View this message in context: http://forum.world.st/Bloc-MDLColor-and-new-gradient-tp4879795p4880198.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
You can try it with: Metacello new smalltalkhubUser: 'KevinLanvin' project: 'MaterialDesignLite'; configuration: 'MaterialDesignLite'; version: #development; load: #(#colors) 2016-02-23 9:13 GMT+01:00 stepharo <stepharo@free.fr>:
Hi
Guillaume Larcheveque in Telescope added support for MDLColor http://www.materialui.co/colors
and nice gradient building.
I asked him if we could extract this functionality and move it into Pharo because it will be usefull for Pharo, Bloc, and Roassal.
A first step could be to have MDLColor subclass as it is now but the second step would be to rethink Color and palette.
May be we should have some Palette
And we could have (brainstorming)
(ColorBuilder from: MDLPalette) -> aColorBuilder aColorBuilder red -> ....
Stef
-- *Guillaume Larcheveque*
participants (5)
-
Aliaksei Syrel -
Denis Kudriashov -
Glenn Cavarlé -
Guillaume Larcheveque -
stepharo