Theme

constructor(primaryColor: Color = Color.Unspecified, fontFamily: FontFamily? = null)

Creates a theme using Jetpack Compose types.

Parameters

primaryColor

The primary branding color for UI elements, as a Compose Color.

fontFamily

The custom font family to be used for text.


constructor(@ColorInt primaryColor: Int? = null, typeface: Typeface? = null)

Creates a theme using traditional Android View types.

Parameters

primaryColor

The primary branding color as an ARGB integer.

typeface

The custom typeface to be used for text.