Skip to content

Commit 6336746

Browse files
authored
Update custom-styles.ts
The data attribute as per the documentation of input is data-focus. In this code demo it is portrayed as data-focused which does not work.
1 parent cc1d62a commit 6336746

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/docs/content/components/input/custom-styles.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export default function App() {
5252
"backdrop-saturate-200",
5353
"hover:bg-default-200/70",
5454
"dark:hover:bg-default/70",
55-
"group-data-[focused=true]:bg-default-200/50",
56-
"dark:group-data-[focused=true]:bg-default/60",
55+
"group-data-[focus=true]:bg-default-200/50",
56+
"dark:group-data-[focus=true]:bg-default/60",
5757
"!cursor-text",
5858
],
5959
}}

0 commit comments

Comments
 (0)