Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing type hints in usage examples
  • Loading branch information
wongjn committed Feb 19, 2025
commit ae627dd66f40e2e580d0a023ea9a5a0eee55456d
2 changes: 1 addition & 1 deletion src/docs/background-position.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-left-top` to control the pos

### Using a custom value

<UsingACustomValue utility="bg" value="center_top_1rem" name="background position" variable="bg-position" />
<UsingACustomValue utility="bg" value="center_top_1rem" name="background position" variable="bg-position" dataType="position"/>

### Responsive design

Expand Down
2 changes: 1 addition & 1 deletion src/docs/font-family.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Use utilities like `font-sans` and `font-mono` to set the font family of an elem

### Using a custom value

<UsingACustomValue utility="font" name="font family" value="Open_Sans" element="p" />
<UsingACustomValue utility="font" name="font family" value="Open_Sans" element="p" dataType="family-name"/>

### Responsive design

Expand Down