doc: fix theme editor bgcolor (#6358)
parent
f3935ebb4f
commit
5cc85f3cc1
|
@ -151,14 +151,6 @@ const ThemeEditor = defineComponent({
|
||||||
onInfoFollowPrimaryChange={onInfoFollowPrimaryChange}
|
onInfoFollowPrimaryChange={onInfoFollowPrimaryChange}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/* <ComponentDemoPro
|
|
||||||
theme={theme.value}
|
|
||||||
components={antdComponents}
|
|
||||||
activeComponents={relatedComponents.value}
|
|
||||||
selectedTokens={computedSelectedTokens.value}
|
|
||||||
style={{ flex: 1, overflow: 'auto', height: '100%' }}
|
|
||||||
componentDrawer
|
|
||||||
/> */}
|
|
||||||
<ComponentDemoPro
|
<ComponentDemoPro
|
||||||
theme={theme.value}
|
theme={theme.value}
|
||||||
components={antdComponents}
|
components={antdComponents}
|
||||||
|
|
|
@ -65,7 +65,7 @@ const ComponentDemoPro = defineComponent({
|
||||||
{...attrs}
|
{...attrs}
|
||||||
style={{
|
style={{
|
||||||
...(attrs.style as CSSProperties),
|
...(attrs.style as CSSProperties),
|
||||||
background: (token as any).colorBgLayout,
|
background: token.value.colorBgLayout,
|
||||||
paddingBottom: '24px',
|
paddingBottom: '24px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue