[Bloc] MDLColor and new gradient

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bloc] MDLColor and new gradient

stepharo
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


Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

Denis Kudriashov
Hi

2016-02-23 9:13 GMT+01:00 stepharo <[hidden email]>:
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"?
Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

Glenn Cavarlé
In reply to this post by stepharo
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é
Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

Guillaume Larcheveque
In reply to this post by stepharo
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 <[hidden email]>:
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

Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

stepharo
In reply to this post by Glenn Cavarlé
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.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

stepharo
In reply to this post by Denis Kudriashov
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 <[hidden email]>:
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"?

Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

Aliaksei Syrel

We will come back to theme, style, colors later. Much later.

On Feb 24, 2016 5:16 PM, "stepharo" <[hidden email]> 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 <[hidden email]>:
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"?

Reply | Threaded
Open this post in threaded view
|

Re: [Bloc] MDLColor and new gradient

stepharo
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" <[hidden email]> 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 <[hidden email]>:
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"?