Skip to content

Commit b1f439b

Browse files
committed
Add note about units in theming
1 parent e3a24ce commit b1f439b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/docs/src/pages/theming.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ Core typographic values can be stored in the following theme keys:
5858
- `lineHeights`
5959
- `letterSpacings`
6060

61+
<Note>
62+
63+
Values defined as numbers are converted to pixel units where appropriate.
64+
For other units, use string values, e.g. `'1em'`.
65+
66+
</Note>
67+
6168
```js
6269
// example theme object
6370
{

0 commit comments

Comments
 (0)