Obsidian theme for Mob — deep blacks with a violet accent.
Usage
defmodule MyApp do
use Mob.App, theme: Mob.Theme.Obsidian
endOverrides
Pass a keyword list as the second element of a tuple to override individual tokens while keeping the rest of the Obsidian palette:
use Mob.App, theme: {Mob.Theme.Obsidian, primary: :rose_500}Publishing your own theme
Any module that exports theme/0 :: Mob.Theme.t() works as a Mob theme.
You can publish yours as a standalone Hex package and users import it the
same way:
use Mob.App, theme: AcmeCorp.Theme.Dark
Summary
Functions
@spec theme() :: Mob.Theme.t()
Returns the compiled Obsidian theme struct.