(feat:input) consistent colors

This commit is contained in:
ManishMadan2882
2025-02-19 04:10:14 +05:30
parent acf3dd2762
commit 28489d244c
2 changed files with 17 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ const Input = ({
</input>
{label && (
<div className="absolute -top-2 left-2">
<span className="bg-white px-2 text-xs text-gray-4000 dark:bg-outer-space dark:text-silver flex items-center">
<span className="bg-white px-2 text-xs text-gray-4000 dark:bg-[#26272E] dark:text-silver flex items-center">
{label}
{required && (
<span className="text-[#D30000] dark:text-[#D42626] ml-0.5">