Skapa
Toggle table of contents
2026.03.00
Select version
2026.03.00
2026.02.00
2026.01.00
2025.12.01
2025.12.00
2025.11.01
2025.11.00
2025.10.00-rc02
2025.10.00-rc01
2025.09.00-beta01
2025.09.00-alpha02
2025.09.00-alpha01
2025.07.01
2025.07.00
2025.06.01
2025.06.00
2025.05.00
2025.04.01
2025.04.00
2025.03.01
2025.03.00
2025.02.02
2025.01.00
2024.12.00
2024.11.01
2024.11.00
2024.10.00
2024.09.00
2024.08.00
2024.07.00
release
Target filter
release
Switch theme
Search in API
Skip to content
Skapa
Foundation
/
net.ikea.skapa.foundation.typography2
/
getRebasedFontSize
get
Rebased
Font
Size
fun
getRebasedFontSize
(
fontSize
:
TextUnit
,
baseFontSize
:
TextUnit
)
:
TextUnit
(
source
)
Helper functions, to calculate the font size based on the base font size.