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 1a7d0a6 commit 5752ba0Copy full SHA for 5752ba0
src/components/mdx/Sandpack/Sandpack.tsx
@@ -18,6 +18,7 @@ const fullConfig = resolveConfig(tailwindConfig)
18
// console.log('fullConfig', fullConfig.theme.colors)
19
// console.log(fullConfig.theme.fontSize.sm)
20
// console.log(fullConfig.theme.fontFamily.mono)
21
+// console.log(fullConfig.theme.borderRadius.lg)
22
23
function getSandpackDependencies(folder: string) {
24
const pkgPath = `${folder}/package.json`
@@ -97,6 +98,8 @@ export const Sandpack = async ({
97
98
files={_files}
99
customSetup={customSetup}
100
options={options}
101
+ // @ts-ignore
102
+ style={{ '--sp-border-radius': fullConfig.theme.borderRadius.lg }}
103
>
104
<SandpackLayout>
105
<SandpackCodeEditor />
0 commit comments