Credo.CLI.Output.foreground_color
You're seeing just the function
foreground_color
, go back to Credo.CLI.Output module for more information.
Returns a suitable foreground color for a given background_color
.
iex> Credo.CLI.Output.foreground_color(:yellow)
:black
iex> Credo.CLI.Output.foreground_color(:blue)
:white