Please add how to use Vanilla-Extract in ory/elements examples #67
Replies: 2 comments 3 replies
-
@Benehiko can you take a look? |
Beta Was this translation helpful? Give feedback.
-
Hi @meotimdihia, Thank you for using You can override the css properties by passing in your own class. to the On our website, we just add a const AuthComponent => (
<ThemeProvider>
<UserAuthCard
className={cn("!max-w-[28rem]", styles)}
title={theme.cardTitle}
flow={theme.flowData || (defaultLogin as SelfServiceFlow)}
flowType="login"
/>
</ThemeProvider>
)
) If you have other suggestions on how we can improve |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I don't know how to implement a custom style:
https://github.com/ory/elements#strongly-typed-css-using-vanilla-extract
Please add the code to Next/React examples:
Also currently, it is hard to change the style in @ory/elements. It is good if we can add a headless UI.
Beta Was this translation helpful? Give feedback.
All reactions