Adaptive theme that switches between a custom dark/light pair.
defmodule MyApp do
use Dala.App, theme: Dala.Theme.Adaptive.new(
dark: Dala.Theme.Obsidian,
light: Dala.Theme.Light
)
end
Summary
Functions
Create a new adaptive theme with a dark/light pair.
Returns the appropriate theme based on current OS appearance.
Functions
Create a new adaptive theme with a dark/light pair.
Returns the appropriate theme based on current OS appearance.