Volt.Config.Tailwind (Volt v0.19.4)

Copy Markdown View Source

Normalized Tailwind CSS root configuration.

Summary

Types

source()

@type source() :: %{
  :base => String.t(),
  :pattern => String.t(),
  optional(:negated) => boolean()
}

t()

@type t() :: %Volt.Config.Tailwind{
  css: String.t() | nil,
  dev_url: String.t(),
  name: String.t(),
  sources: [source()]
}

Functions

enabled?(config)

@spec enabled?(keyword() | boolean() | nil) :: boolean()

new(config, overrides \\ [])

@spec new(
  keyword() | boolean() | nil,
  keyword()
) :: t()