howdy/ui/themes/stone

The stone theme preset. Warm greys with a near-black primary, a little softer than zinc.

import howdy/ui/themes/stone

page.new("Orders")
|> page.themes(stone.themes())

The themes are named light and dark, like the built-in ones, so ui.theme_toggle and a theme cookie work unchanged. Copy this module with gleam run -m howdy/ui add stone to adjust it. Every text colour meets WCAG AA contrast against the surfaces it sits on, and the focus ring 3:1 against the page.

Values

pub fn dark() -> theme.Theme
pub fn light() -> theme.Theme
pub fn themes() -> theme.Themes

Light by default, dark when the system prefers it.

✨ Search Document