Corex.Design.Config.Resolved (Corex Design v0.2.0)

Copy Markdown View Source

The config :corex_design entry after defaults are applied.

Summary

Functions

Builds the resolved config from a keyword list or map.

Types

t()

@type t() :: %Corex.Design.Config.Resolved{
  accessibility: false | true | [atom()],
  components: [String.t()] | nil,
  default_mode: atom(),
  default_theme: atom(),
  modes: term() | nil,
  output: String.t() | nil,
  scales: keyword(),
  semantics: [atom() | String.t()] | nil,
  themes: term() | nil
}

Functions

new(config)

@spec new(keyword() | map()) :: t()

Builds the resolved config from a keyword list or map.