Skip to content

Commit b0cb5fc

Browse files
committed
sort the documented color names
1 parent 40f6def commit b0cb5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scenic/color.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ defmodule Scenic.Color do
199199
a list of all the color names. I'll eventually add a link to a page that shows them
200200
visually.
201201
202-
#{inspect(Enum.map(@named_colors, fn {k, _v} -> k end), limit: :infinity, pretty: true)}
202+
#{inspect(Enum.map(@named_colors, fn {k, _v} -> k end) |> Enum.sort(), limit: :infinity, pretty: true)}
203203
204204
205205
## Additional Named Colors

0 commit comments

Comments
 (0)