Package-level declarations

Types

Link copied to clipboard

Accent options shown in settings. "white" is the adaptive monochrome accent.

Link copied to clipboard

Curated home background tones (#16). Each non-default tone is a complete background/text/muted pairing, so contrast is guaranteed — never a free color picker. DEFAULT follows the light/dark theme as before.

Link copied to clipboard

Font families, mapped to Compose's built-ins (no bundled assets).

Link copied to clipboard
data class Palette(val background: Color, val text: Color, val muted: Color, val accent: Color)

Minimal, monochrome palette with a single (possibly colored) accent.

Link copied to clipboard

The three theme choices the launcher cycles through.

Properties

Link copied to clipboard

True when the chosen font is monospace — wide tracking doubles up there.

Functions

Link copied to clipboard
internal fun accentColor(choice: AccentChoice, mono: Color): Color

The concrete color an accent choice maps to (mono = the theme's ink).

Link copied to clipboard

Material 3 Expressive theme derived from the ambient Foyer palette/font. Wrap M3-based surfaces (settings) in this; the home screen stays foundation.

Link copied to clipboard
fun LauncherTheme(mode: ThemeMode, accent: AccentChoice, font: FontChoice, tone: BackgroundTone = BackgroundTone.DEFAULT, content: @Composable () -> Unit)
Link copied to clipboard

Draws the grain behind content when enabled; free no-op otherwise.

Link copied to clipboard
internal fun toneBase(tone: BackgroundTone): Pair<Palette, Boolean>?

The tone's palette and whether it's a dark surface (for status bar icons).

Link copied to clipboard

The requested letter-spacing, or none when the mono font is active.