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.7.0
May 06, 2026
Latest Updates
net.ikea.skapa:foundation:3.8.0
Colors
Deprecation
SkapaColors.palette(Material 2 color palette) is now deprecated. UsepaletteM3instead, which aligns with the Material 3 design guidelines and will continue to receive updates.paletteremains functional for backward compatibility but will not be updated with new colors or adjustments.
Dependencies
Improvement Compose BOM and core Compose dependencies (
animation,foundation,material,material3,material3-window-size,adaptive,ui,ui-graphics) are now exposed asapidependencies in thefoundationmodule. Consumers no longer need to declare these Compose dependencies explicitly in their own build files.Improvement All font modules now expose Compose BOM and
compose-uiasapidependencies. Consumers no longer need to declare these Compose dependencies explicitly in their own build files.
net.ikea.skapa:foundation:3.7.0
Added
val fontSize925 = 42.sptoTypographyfor supporting new price size ratio in Price Module.
net.ikea.skapa:foundation:3.6.0
Dependency update
net.ikea.skapa:foundation:3.5.0
Exposing
BaseFontSizeneeded by Price component
net.ikea.skapa:foundation:3.4.0
Added new spacing token -
SkapaSpacing.space12 = 2.dp
net.ikea.skapa:foundation:3.3.0
Updated dependencies
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:
commercialMessageTimeRestrictedOfferBreaking 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
campaignSustainabilityanywhere as a background, please check that the contrast ratio is still sufficient.
SkapaTheme
Breaking Change The old
SkapaThemewrapper which uses material 2 deprecated usinglevel=DeprecationLevel.ERROR. Please migrate to the newSkapaTheme2which uses material 3 along our new typography system.Deprecated
SkapaThemeM3has been deprecated withlevel=DeprecationLevel.WARNNG. Please useSkapaTheme2instead.
Typography
Breaking Change typography object
SkapaTheme.typography2has been renamed toSkapaTheme.typography. (New typography system)Breaking Change typography object
SkapaTheme.typographyhas been renamed toSkapaTheme.typographyM2. This has also been deprecated. (Old typography system)Deprecated Old
SkapaTypographySizes and Typescale has been deprecated.Deprecated
SkapaBodyandSkapaHeadingclasses are deprecated withlevel=DeprecationLevel.WARNING. These are part of the old typography system.