Foundation

The Foundation library contains all the foundational tokens that Skapa is built up from such as color, typography, motion and spacing.

In this package you can find:

  • Colour Tokens with support for Dark Mode

  • Tokens for Spacing, Borders, Motion

  • Typography & Type sets

  • Skapa Theming for Jetpack Compose

  • Support Colors, Spacing and Typography tokens for AndroidView (XML)

  • Support to get colour tokens by a string identifier

Know more about Skapa Foundations

Dark Mode

Material 3

SkapaTheme2 is based on Material 3, this is an updated theme for the revamped typography in Skapa. Dark Mode is enabled the same way as before, you need to provide darkTheme = true property in SkapaTheme2 or following the system setting to SkapaTheme2(darkTheme = isSystemInDarkTheme()).

Version 3.2.0

Dec 16, 2025

Latest Updates

net.ikea.skapa:foundation:3.2.0

  • Updated dependencies

net.ikea.skapa:foundation:3.1.0

  • Removal of deprecated code

net.ikea.skapa:foundation:3.0.0

  • Updated dependencies

Bug Fixes

  • Bug fix Updated handling of ripple effect to fix pressed state for some older devices.

Colors

  • Added new alias color token: commercialMessageTimeRestrictedOffer

  • Breaking Change Updated Sustainability colors

    • The reason for this breaking change is that the color value has changed and is now static, and when used with a white foreground color it does not meet the accessibility requirements.

    • If you are using campaignSustainability anywhere as a background, please check that the contrast ratio is still sufficient.

SkapaTheme

  • Breaking Change The old SkapaTheme wrapper which uses material 2 deprecated using level=DeprecationLevel.ERROR. Please migrate to the new SkapaTheme2 which uses material 3 along our new typography system.

  • Deprecated SkapaThemeM3 has been deprecated with level=DeprecationLevel.WARNNG. Please use SkapaTheme2 instead.

Typography

  • Breaking Change typography object SkapaTheme.typography2 has been renamed to SkapaTheme.typography. (New typography system)

  • Breaking Change typography object SkapaTheme.typography has been renamed to SkapaTheme.typographyM2. This has also been deprecated. (Old typography system)

  • Deprecated Old SkapaTypography Sizes and Typescale has been deprecated.

  • Deprecated SkapaBody and SkapaHeading classes are deprecated with level=DeprecationLevel.WARNING. These are part of the old typography system.

Packages

Link copied to clipboard
Link copied to clipboard