Mob.Theme.Dark (mob v0.6.0)

Copy Markdown View Source

High-contrast greyscale dark theme.

Designed for low-light / nighttime use where bright screens are blinding. Near-black background (not pure black, to avoid OLED smear), light grey text, mid-grey accents. Functional first, decorative second.

Usage

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

See Mob.Theme.Adaptive for a theme that follows the OS-level light/dark setting automatically.

Summary

Functions

Returns the compiled Dark theme struct.

Functions

theme()

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

Returns the compiled Dark theme struct.