doc: fix theme editor bgcolor (#6358)

pull/6367/head
果冻橙 2 years ago committed by GitHub
parent f3935ebb4f
commit 5cc85f3cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,14 +151,6 @@ const ThemeEditor = defineComponent({
onInfoFollowPrimaryChange={onInfoFollowPrimaryChange}
/>
</div>
{/* <ComponentDemoPro
theme={theme.value}
components={antdComponents}
activeComponents={relatedComponents.value}
selectedTokens={computedSelectedTokens.value}
style={{ flex: 1, overflow: 'auto', height: '100%' }}
componentDrawer
/> */}
<ComponentDemoPro
theme={theme.value}
components={antdComponents}

@ -65,7 +65,7 @@ const ComponentDemoPro = defineComponent({
{...attrs}
style={{
...(attrs.style as CSSProperties),
background: (token as any).colorBgLayout,
background: token.value.colorBgLayout,
paddingBottom: '24px',
}}
>

Loading…
Cancel
Save