Skip to content

Commit bb9ff54

Browse files
authored
Docs: Missing dataType for custom variable usage in text-decoration-thickness utility (#2239)
1 parent 4d1b8fd commit bb9ff54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docs/text-decoration-thickness.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const description = "Utilities for controlling the thickness of text deco
1111
["decoration-<number>", "text-decoration-thickness: <number>px;"],
1212
["decoration-from-font", "text-decoration-thickness: from-font;"],
1313
["decoration-auto", "text-decoration-thickness: auto;"],
14-
["decoration-(<custom-property>)", "text-decoration-thickness: var(<custom-property>);"],
14+
["decoration-(length:<custom-property>)", "text-decoration-thickness: var(<custom-property>);"],
1515
["decoration-[<value>]", "text-decoration-thickness: <value>;"],
1616
]}
1717
/>
@@ -62,6 +62,7 @@ Use `decoration-<number>` utilities like `decoration-2` and `decoration-4` to ch
6262
name="text decoration thickness"
6363
value="0.25rem"
6464
variable="decoration-thickness"
65+
dataType="length"
6566
/>
6667

6768
### Responsive design

0 commit comments

Comments
 (0)