Mob.Theme.Birch (mob v0.3.5)

Copy Markdown View Source

Birch theme for Mob — warm parchment surfaces with a chestnut-brown accent.

A light warm theme. Calm and readable — works well for content-heavy apps, reading interfaces, and anywhere you want a natural, unhurried feel.

Usage

defmodule MyApp do
  use Mob.App, theme: Mob.Theme.Birch
end

Overrides

use Mob.App, theme: {Mob.Theme.Birch, primary: :brown_400}

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.Light

Summary

Functions

Returns the compiled Birch theme struct.

Functions

theme()

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

Returns the compiled Birch theme struct.