DesignSystem

open class DesignSystem(    val colorSet: ColorSet,     val typographySet: TypographySet,     val components: Map<String, Atom>,     var fontFamily: AtomikFontFamily? = null)

A Design System

This is the core of the Atomik Library, representing a Design Systems components. This is based on atomic design which is included in the Design System

Constructors

Link copied to clipboard
fun DesignSystem(    colorSet: ColorSet,     typographySet: TypographySet,     components: Map<String, Atom>,     fontFamily: AtomikFontFamily? = null)

Properties

Link copied to clipboard
open val colorSet: ColorSet

the collection of colors to be used in this Design System

Link copied to clipboard
open val components: Map<String, Atom>

the atomic components to be used in this Design System

Link copied to clipboard
open var fontFamily: AtomikFontFamily? = null

the font family passed into the Design System from the Platform level

Link copied to clipboard
open val typographySet: TypographySet

the collection of typohraphies to be used in this Design System