Skip to content

Commit 6cba432

Browse files
authored
Add missing type hints in usage examples (#2098)
Some *Using a custom value* sections are missing type hints for CSS variable usage examples. This PR adds them in.
1 parent 95d3b12 commit 6cba432

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/docs/background-position.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-left-top` to control the pos
164164

165165
### Using a custom value
166166

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

169169
### Responsive design
170170

src/docs/font-family.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Use utilities like `font-sans` and `font-mono` to set the font family of an elem
6666

6767
### Using a custom value
6868

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

7171
### Responsive design
7272

0 commit comments

Comments
 (0)