Skip to main content

Basic Atoms

Color Atom​

public interface ColorAtom : AtomInterface {
public val color: AtomikColor
}

Simply contains a color. This Atom can be used to apply a color to your view. Note that the color applies to the atom, so for a simple view or button, it would be the background color, but with a text atom it would be the text color.

Usage​

View​

view.applyColorAtom(yourAtom)

Text​

view.applyColorAtom(yourAtom)