Skip to content

Commit

Permalink
fix: 注释antdp-base layouts
Browse files Browse the repository at this point in the history
颜色配置
  • Loading branch information
ChenlingasMx committed Jun 12, 2023
1 parent 66e25b2 commit a4e91ea
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions examples/antdp-base/src/layouts/BasicLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@ const Layout = () => {
setConfig={setConfig}
/>
<BasicLayouts
token={{
menu: {
colorMenuBackground: '#004FD9',
colorBgMenuItemHover: 'rgba(0,0,0,0.06)',
colorBgMenuItemSelected: 'rgba(0,0,0,0.15)',
colorTextMenu: 'rgba(255,255,255,0.75)',
colorTextMenuActive: 'rgba(255,255,255,0.95)',
colorTextMenuSelected: '#fff',
colorBgMenuItemCollapsedElevated: 'rgba(0,0,0,0.85)',
triggerColor: '#fff',
triggerTextColor: '#fff',
},
header: {
colorHeaderBackground: '#fff',
headerTextColor: '#000',
},
titleColor: '#fff',
}}
// token={{
// menu: {
// colorMenuBackground: '#004FD9',
// colorBgMenuItemHover: 'rgba(0,0,0,0.06)',
// colorBgMenuItemSelected: 'rgba(0,0,0,0.15)',
// colorTextMenu: 'rgba(255,255,255,0.75)',
// colorTextMenuActive: 'rgba(255,255,255,0.95)',
// colorTextMenuSelected: '#fff',
// colorBgMenuItemCollapsedElevated: 'rgba(0,0,0,0.85)',
// triggerColor: '#fff',
// triggerTextColor: '#fff',
// },
// header: {
// colorHeaderBackground: '#fff',
// headerTextColor: '#000',
// },
// titleColor: '#fff',
// }}
layout={config.layout}
theme={config.dark}
className="antdp-basic-layouts"
Expand Down

0 comments on commit a4e91ea

Please sign in to comment.