Dala.Theme.Obsidian (dala v0.0.1)

Copy Markdown View Source

Obsidian theme for Dala — deep blacks with a violet accent.

Usage

defmodule MyApp do
  use Dala.App, theme: Dala.Theme.Obsidian
end

Overrides

Pass a keyword list as the second element of a tuple to override individual tokens while keeping the rest of the Obsidian palette:

use Dala.App, theme: {Dala.Theme.Obsidian, primary: :rose_500}

Publishing your own theme

Any module that exports theme/0 :: Dala.Theme.t() works as a Dala theme. You can publish yours as a standalone Hex package and users import it the same way:

use Dala.App, theme: AcmeCorp.Theme.Dark

Summary

Functions

Returns the compiled Obsidian theme struct.

Functions

theme()

@spec theme() :: Dala.Theme.t()

Returns the compiled Obsidian theme struct.