AtomikFontFamily

actual class AtomikFontFamily

A class containing the Font Family of the Design system

This contains a compose FontFamily. Used to reference particular font files.

expect class AtomikFontFamily

A class containing the Font Family of the Design system

This is either a group of UIFonts in iOS or a FontFamily in compose. It is needed to use platform specific font functionality

actual class AtomikFontFamily

A class containing the Font Family of the Design system

This contains a map of UIFonts, based on the weight. Used to reference particular font files.

Constructors

Link copied to clipboard
fun AtomikFontFamily(fontFamily: FontFamily)
Link copied to clipboard
fun AtomikFontFamily(uiFonts: Map<AtomikTypographyWeight, UIFont>)

Properties

Link copied to clipboard
val fontFamily: FontFamily