doc: fix theme editor bgcolor (#6358)
parent
f3935ebb4f
commit
5cc85f3cc1
|
@ -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…
Reference in New Issue