Skip to content

Commit 7690eab

Browse files
committed
fix(theme-doc): tweak colorSplit
1 parent e7e4df0 commit 7690eab

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/theme-doc/src/Layout/common.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@colorSplit: rgba(5, 5, 5, 0.06);
1+
@colorSplit: rgba(5, 5, 5, 0.1);
22

33
.media-width-md(@rules) {
44
// antd Grid breakpoint `md`

packages/theme-doc/src/Layout/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const AppLayout: React.FC<React.PropsWithChildren<Props>> = ({ children }) => {
4343
}, [isSlideSiderOpen, screenWidth])
4444

4545
return (
46-
<ConfigProvider prefixCls="vp-antd">
46+
<ConfigProvider prefixCls="vp-antd" theme={theme}>
4747
<LayoutContext.Provider value={layoutCtxVal}>
4848
<div className={s.layout}>
4949
<AppHeader />
@@ -68,3 +68,9 @@ const AppLayout: React.FC<React.PropsWithChildren<Props>> = ({ children }) => {
6868
}
6969

7070
export default AppLayout
71+
72+
const theme = {
73+
token: {
74+
colorSplit: 'rgba(5, 5, 5, 0.1)',
75+
},
76+
} as const

0 commit comments

Comments
 (0)