supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
487 stars 121 forks source link

`Appearance.classNames` don't appear to make it to the DOM for email components. #66

Closed ZackDeRose closed 1 year ago

ZackDeRose commented 1 year ago

Bug report

Describe the bug

Appearance.classNames don't appear to make it to the DOM for email components.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create Auth component:
<Auth
    supabaseClient={supaClient}
    appearance={{ theme: ThemeSupa, className: { input: "foo" }}
/>
  1. Inspect DOM [note no 'foo' class on input as expected]

Screen Shot 2022-11-07 at 3 23 33 PM

Expected behavior

In the example about, should see the foo class on the input elements.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Additional context

Please assign me if this should be fixed. I was able to trace most of this already