Package-level declarations

Types

Link copied to clipboard

The ExperimentalSkapaApi is used for work-in-progress components (and other functions) in all our packages, both stable packages and experimental package.

Link copied to clipboard
annotation class InternalSkapaApi

The InternalSkapaApi is used to reuse functions between our own Skapa packages.

Link copied to clipboard

Used to specify the theme of a icon resource.

Link copied to clipboard
class SkapaBody

Body text combinations

Link copied to clipboard

Subset of Border Tokens used in Skapa

Link copied to clipboard
data class SkapaColors
Link copied to clipboard
class SkapaFont

Skapa font bundle

Link copied to clipboard

Skapa Large Screen Headings Typeset used for devices with larger screens eg. tablets

Link copied to clipboard

Subset of Motion Tokens used in Skapa

Link copied to clipboard

Spacing Tokens used in Skapa

Link copied to clipboard
object SkapaTheme

SkapaTheme groups a set of local compositions that represent the Android Skapa theme

Link copied to clipboard
data class SkapaTypesets

Data class use to create the SkapaTheme and expose skapa predefined subset of Typesets

Link copied to clipboard

Typography Tokens used in Skapa

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun SkapaColors.getColor(colorName: String): Color

Retrieve a Skapa colour by string identifier

Link copied to clipboard
fun painter(@DrawableRes resId: Int, resourceTheme: ResourceTheme): Painter

Painter function to load a drawable resource with a specific theme

Link copied to clipboard
fun SkapaTheme2(darkTheme: Boolean = false, fontFamily: FontFamily = NotoIkeaLatin, typeScale: SkapaTypeScale = SkapaTypeScale.Auto, baseFontSize: TextUnit = 14.sp, content: @Composable () -> Unit)

Skapa Theming

Link copied to clipboard
fun SkapaThemeM3(darkTheme: Boolean = false, fontFamily: FontFamily = NotoIkeaLatin, content: @Composable () -> Unit)
fun SkapaThemeM3(darkTheme: Boolean = false, fontFamily: FontFamily = NotoIkeaLatin, largeScreen: Boolean = false, content: @Composable () -> Unit)

Skapa Theming