Search documentation of mob

# Mob.Theme.Obsidian (mob v0.6.18)

Copy Markdown View Source

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

## Usage

    defmodule MyApp do
      use Mob.App, theme: Mob.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 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

theme()

Returns the compiled Obsidian theme struct.

## Functions

# theme()

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

Returns the compiled Obsidian theme struct.