timjs / elm-collage

Create interactive vector graphics and position them relative to each other
BSD 3-Clause "New" or "Revised" License
58 stars 19 forks source link

Colors not recognized #1

Closed gitLabor8 closed 6 years ago

gitLabor8 commented 6 years ago

Colors do not seemed to be included in your library. I have tried multiple different colors and even the function rgb, but none of them gets recognized.

Cannot find variable Collage.red.

50|       |> filled (uniform Collage.red )
                             ^^^^^^^^^^^
Collage does not expose red. 
timjs commented 6 years ago

Hi @gitLabor8,

Please use the colors defined in the Elm Color module. It will solve your problem.