What file can i change login page colors
hi kapa in what file can i change the login page colors from yellow to another color. i use SaaS 3 template
4 Replies
Hi @Sven. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
You can change the login page colors in the
appearance.js
or appearance.ts
file, depending on whether you're using JavaScript or TypeScript.
Here's an example of how you can customize the colors:
In this example, the brand
color is set to blue, the brandAccent
color is set to pink, and the submitButtonText
color is set to white. You can replace these color codes with the ones you prefer.
Then, you need to pass the appearance
object to the LoginForm
component in your LoginPage.jsx
or LoginPage.tsx
file:
For more details, you can refer to the Wasp documentation on customizing the Auth UI (https://wasp-lang.dev/docs/auth/ui#customization-).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Sven, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?@kapa.ai can i also do it without making a whole new file
Let me check the knowledge base for you. One moment! :books:
----------------------
Yes, you can also define the
appearance
object directly in your LoginPage.jsx
or LoginPage.tsx
file without creating a new file. Here's how you can do it:
In this example, the appearance
object is defined directly in the LoginPage
component. You can replace the color codes with the ones you prefer.
For more details, you can refer to the Wasp documentation on customizing the Auth UI (https://wasp-lang.dev/docs/auth/ui#customization-).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Sven, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?goattttt thanks