diff --git a/frontend/src/components/Welcome.tsx b/frontend/src/components/Welcome.tsx index 372d10f9..0671e38d 100644 --- a/frontend/src/components/Welcome.tsx +++ b/frontend/src/components/Welcome.tsx @@ -22,6 +22,7 @@ import { api } from "../lib/api"; import { HttpError } from "../lib/api"; import { setLanguage, type LangCode } from "../i18n"; import LanguageSwitcher from "./LanguageSwitcher"; +import { inputCls } from "./ui/form"; const EMAIL_RE = /^[^@\s]+@[^@\s]+\.[^@\s]+$/; const PASSWORD_MIN = 10; @@ -430,8 +431,6 @@ function AuthCard() { } } - const inputCls = - "w-full bg-surface border border-border rounded-xl px-3 py-2.5 text-sm focus:outline-hidden focus:ring-2 focus:ring-accent/40"; const titleKey = TITLE_KEY[mode]; return (