View Source Phoenix.UI.Theme (Phoenix UI v0.1.6)

Phoenix UI theme functionality.

Link to this section Summary

Functions

Returns a list of supported Phoenix.UI colors.

Returns a list of supported Phoenix.UI widths.

Returns a list of supported Phoenix.UI transition durations.

Link to this section Functions

@spec colors() :: [String.t()]

Returns a list of supported Phoenix.UI colors.

examples

Examples

iex> colors()
["amber", "blue", ...]
@spec max_widths() :: [String.t()]

Returns a list of supported Phoenix.UI widths.

examples

Examples

iex> max_widths()
["2xl", "3xl", ...]
@spec transition_durations() :: [integer()]

Returns a list of supported Phoenix.UI transition durations.

examples

Examples

iex> transition_durations()
[75, 100, ...]