diff --git a/apps/www/app/routes/components.input.tsx b/apps/www/app/routes/components.input.tsx index 4e93a6a1..08d77145 100644 --- a/apps/www/app/routes/components.input.tsx +++ b/apps/www/app/routes/components.input.tsx @@ -55,6 +55,10 @@ export default function Page() {

Username

+

Validation States:

diff --git a/packages/mantle/package.json b/packages/mantle/package.json index bb82c16d..5403595c 100644 --- a/packages/mantle/package.json +++ b/packages/mantle/package.json @@ -3,7 +3,7 @@ "description": "mantle is ngrok's UI library and design system.", "author": "ngrok", "license": "MIT", - "version": "0.15.3", + "version": "0.15.4", "homepage": "https://mantle.ngrok.com", "repository": { "type": "git", diff --git a/packages/mantle/src/components/input/input.tsx b/packages/mantle/src/components/input/input.tsx index bac40497..10f47322 100644 --- a/packages/mantle/src/components/input/input.tsx +++ b/packages/mantle/src/components/input/input.tsx @@ -146,7 +146,7 @@ const InputContainer = ({ "data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:border-success-600 has-[:focus-visible]:data-validation-success:ring-focus-success", "data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:border-warning-600 has-[:focus-visible]:data-validation-warning:ring-focus-warning", "data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:border-danger-600 has-[:focus-visible]:data-validation-error:ring-focus-danger", - "[-webkit-text-fill-color:hsl(var(--text-strong))] autofill:shadow-[inset_0_0_0px_1000px_hsl(var(--blue-50))] has-[:autofill]:bg-blue-50", // Autofill styling on the input itself and any children with autofill styling + "autofill:shadow-[inset_0_0_0px_1000px_hsl(var(--blue-50))] has-[:autofill]:bg-blue-50 has-[:autofill]:[-webkit-text-fill-color:hsl(var(--text-strong))]", // Autofill styling on the input itself and any children with autofill styling className, )} onClick={() => {