File tree 2 files changed +1
-9
lines changed
site/src/components/antdv-token-previewer
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -151,14 +151,6 @@ const ThemeEditor = defineComponent({
151
151
onInfoFollowPrimaryChange = { onInfoFollowPrimaryChange }
152
152
/>
153
153
</ div >
154
- { /* <ComponentDemoPro
155
- theme={theme.value}
156
- components={antdComponents}
157
- activeComponents={relatedComponents.value}
158
- selectedTokens={computedSelectedTokens.value}
159
- style={{ flex: 1, overflow: 'auto', height: '100%' }}
160
- componentDrawer
161
- /> */ }
162
154
< ComponentDemoPro
163
155
theme = { theme . value }
164
156
components = { antdComponents }
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const ComponentDemoPro = defineComponent({
65
65
{ ...attrs }
66
66
style = { {
67
67
...( attrs . style as CSSProperties ) ,
68
- background : ( token as any ) . colorBgLayout ,
68
+ background : token . value . colorBgLayout ,
69
69
paddingBottom : '24px' ,
70
70
} }
71
71
>
You can’t perform that action at this time.
0 commit comments