Skip to content
Merged
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
10 changes: 9 additions & 1 deletion src/docs/font-weight.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ApiTable } from "@/components/api-table.tsx";
import { CustomizingYourTheme, ResponsiveDesign, UsingACustomValue } from "@/components/content.tsx";
import { Example } from "@/components/example.tsx";
import { Figure } from "@/components/figure.tsx";
import { CodeExample } from "@/components/code-example.tsx";

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

### Using a custom value

<UsingACustomValue element="p" utility="font" value="1000" name="font weight" variable="font-weight" />
<UsingACustomValue
element="p"
utility="font"
value="1000"
name="font weight"
variable="font-weight"
dataType="weight"
/>

### Responsive design

Expand Down