rakutentech/r10/1.0.0

NOTE: the latest version is 7.0.0

R10.Color.Primary

Rakuten brand colors

Colors

More info about colors at https://r10.netlify.app/

type Color
= Yellow
| Purple
| Pink
| Orange
| LightBlue
| Green
| CrimsonRed
| Blue
list : List Color
toColor : { a | mode : Mode } -> Color -> Color

Convert a primary color into a avh4/elm-color type of color. It requiires a Mode because the color can be sligtly different in Light or Dark mode.

To String

toString : Color -> String

Encoders/Decoders