Pote.Theme.Theme (Pote v2.2.0)

Copy Markdown View Source

The theme struct — name, optional description, and the colour map.

colors is a map from string key to RGB tuple. Strings (not atoms) are used so themes roundtrip cleanly through JSON.

Summary

Types

rgb()

t()

@type t() :: %Pote.Theme.Theme{
  colors: %{optional(String.t()) => rgb()},
  description: String.t() | nil,
  name: String.t()
}