We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e06a2 commit d7996b8Copy full SHA for d7996b8
docs/elements/guides/02_theming.mdx
@@ -70,3 +70,9 @@ function MyApp({ Component, pageProps }) {
70
}
71
export default MyApp
72
```
73
+
74
+## Using the default theme with custom components
75
76
+When building custom components, you can still leverage the default theme by using the CSS variables defined in Ory Elements. The
77
+default theme's styles are scoped to the `.ory-elements` CSS class. This means that if you wrap your custom components in a
78
+container with this class, they will inherit the default theme styles.
0 commit comments