Skip to content

Commit

Permalink
docs: fix remToDp matcher type in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
deeshantk committed Dec 14, 2024
1 parent 737a02b commit 58fd4e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Transforms the value from a REM size on web into a scale-independent pixel (sp)
Transforms the value from a REM size on web into a density-independent pixel (dp) value for font sizes in Compose. It WILL scale the number by a factor of 16 (or the value of `basePxFontSize` on the platform in your config).

```kotlin
// Matches: token.type === 'fontSize'
// Matches: token.type === 'dimension'
// Returns:
"16.0.dp"
```
Expand Down

0 comments on commit 58fd4e7

Please sign in to comment.