Now import the
Colors
module in yourPalette
component module like this:import PentoWeb.Pento.Colors
.
However this would already be present from entering the code shown on page 337:
defmodule PentoWeb.Pento.Palette do
use Phoenix.Component
alias PentoWeb.Pento.{Shape, Canvas}
alias Pento.Game.Pentomino
import PentoWeb.Pento.Colors