Hello everyone, merry christmas! I have a question...
# support-questions-legacy
m
Hello everyone, merry christmas! I have a question regarding to styling. I followed nextjs tutorial, everything is working fine except i cannot pass styles to login component. My code is :
Copy code
js
    recipeList: [
      ThirdPartyEmailPasswordReact.init({
        signInAndUpFeature: {
          providers: [ThirdPartyEmailPasswordReact.Google.init()],
        },
      }),
      EmailPassword.init({
        palette: {
          /* ... */
        },
        style: {
          button: {
            backgroundColor: "#252571",
            border: "0px",
            width: "30%",
            margin: "0 auto",
          },
        },
      }),
      SessionReact.init(),
    ],
r
hey @meme3611
m
hey hey!
also i am initializing the SuperTokensReact at _app.tsx
r
If you have done
ThirdPartyEmailPasswordReact.init
, you do not need to do
EmailPassword.init
.
your
palette
and
style
goes in
ThirdPartyEmailPasswordReact.init
m
gotcha! thanks it worked!