sparkFontFamily

fun sparkFontFamily(fontFamily: FontFamily = nunitoFontFamily, useSparkTokensHighlighter: Boolean = false): SparkFontFamily

Creates a SparkFontFamily with the given fontFamily and useSparkTokensHighlighter.

Parameters

fontFamily

The FontFamily you want to use globally inside your app.

useSparkTokensHighlighter

If true, the FontFamily will be replaced by FontFamily.Cursive when the token highlighting is enabled in the SparkTheme.