Skip to content

Commit 2129ab7

Browse files
Add data type to font-weight page (#2355)
Closes #2324 Closes #2304 --------- Co-authored-by: jaydixit01 <[email protected]>
1 parent dc9e786 commit 2129ab7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/docs/font-weight.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { ApiTable } from "@/components/api-table.tsx";
22
import { CustomizingYourTheme, ResponsiveDesign, UsingACustomValue } from "@/components/content.tsx";
33
import { Example } from "@/components/example.tsx";
44
import { Figure } from "@/components/figure.tsx";
5+
import { CodeExample } from "@/components/code-example.tsx";
56

67
export const title = "font-weight";
78
export const description = "Utilities for controlling the font weight of an element.";
@@ -80,7 +81,14 @@ Use utilities like `font-thin` and `font-bold` to set the font weight of an elem
8081

8182
### Using a custom value
8283

83-
<UsingACustomValue element="p" utility="font" value="1000" name="font weight" variable="font-weight" />
84+
<UsingACustomValue
85+
element="p"
86+
utility="font"
87+
value="1000"
88+
name="font weight"
89+
variable="font-weight"
90+
dataType="weight"
91+
/>
8492

8593
### Responsive design
8694

0 commit comments

Comments
 (0)