Skip to content

Commit 4de5963

Browse files
authored
fix: text in accent-color input's label (tailwindlabs#2078)
In the opacity setting of the accent color, the black color that is not in the code in the example is being used. I modified it to purple just like the example code. - AS-IS ![as-is](https://github.com/user-attachments/assets/ad26d876-a196-46cf-a7b3-5257a302675e) - TO-BE ![to-be](https://github.com/user-attachments/assets/9ed06284-4522-4688-9f74-613da60d6613)
1 parent 6ea2d48 commit 4de5963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/accent-color.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ Use the color opacity modifier to control the opacity of an element's accent col
7676
<div className="flex flex-wrap justify-center gap-6">
7777
<label className="flex items-center space-x-2">
7878
<input type="checkbox" defaultChecked className="accent-purple-500/25" />
79-
<div className="text-sm font-semibold text-gray-900 dark:text-gray-200">accent-black/25</div>
79+
<div className="text-sm font-semibold text-gray-900 dark:text-gray-200">accent-purple-500/25</div>
8080
</label>
8181
<label className="flex items-center space-x-2">
8282
<input type="checkbox" className="accent-purple-500/75" defaultChecked />
83-
<div className="text-sm font-semibold text-gray-900 dark:text-gray-200">accent-black/75</div>
83+
<div className="text-sm font-semibold text-gray-900 dark:text-gray-200">accent-purple-500/75</div>
8484
</label>
8585
</div>
8686
}

0 commit comments

Comments
 (0)