Skip to content

Commit

Permalink
Merge pull request #467 from DaleSeo/patch-1
Browse files Browse the repository at this point in the history
Unavailable anchor
  • Loading branch information
jxnblk committed Apr 26, 2019
2 parents 7c95fe4 + 9e3c861 commit 9eac078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ import { fontSize } from 'styled-system'

The fontSize utility parses a component's `fontSize` prop and converts it into a CSS font-size declaration.

- Numbers from 0-8 (or `theme.fontSizes.length`) are converted to values on the [font size scale](#default-theme).
- Numbers from 0-8 (or `theme.fontSizes.length`) are converted to values on the [font size scale](#defaults).
- Numbers greater than `theme.fontSizes.length` are converted to raw pixel values.
- String values are passed as raw CSS values.
- And array values are converted into [responsive values][responsive-styles].
Expand Down

0 comments on commit 9eac078

Please sign in to comment.