Skip to content

Commit d574840

Browse files
fix: make 'Send reset email' button text visible on hover (calcom#21334) (calcom#21335)
* fix: ensure button text remains visible on hover in forgot password page Before: Button text turned black on hover, blending with the dark background. After: Added 'enabled:hover:text-white' to maintain readability. * Re-update forgot-password-view.tsx * Update globals.css brand-text * Update globals.css --cal-brand-text: white * Reverted globals.css update * Update forgot-password-view.tsx , change brand-text color change "--cal-brand-text": white to Black
1 parent 6a85d0e commit d574840

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/modules/auth/forgot-password/forgot-password-view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function ForgotPassword(props: PageProps) {
112112
{
113113
"--cal-brand": "#111827",
114114
"--cal-brand-emphasis": "#101010",
115-
"--cal-brand-text": "white",
115+
"--cal-brand-text": "Black",
116116
"--cal-brand-subtle": "#9CA3AF",
117117
} as CSSProperties
118118
}>
@@ -127,7 +127,7 @@ export default function ForgotPassword(props: PageProps) {
127127
/>
128128
<div className="space-y-2">
129129
<Button
130-
className="w-full justify-center dark:bg-white dark:text-black"
130+
className="w-full justify-center bg-white hover:bg-black hover:text-white"
131131
type="submit"
132132
color="primary"
133133
disabled={loading}

0 commit comments

Comments
 (0)