File tree Expand file tree Collapse file tree 2 files changed +33
-22
lines changed Expand file tree Collapse file tree 2 files changed +33
-22
lines changed Original file line number Diff line number Diff line change @@ -52,33 +52,37 @@ function NavDrawer() {
5252 bg : 'canvas.default' ,
5353 } }
5454 >
55- < Box
56- sx = { {
57- borderWidth : 0 ,
58- borderRadius : 0 ,
59- borderBottomWidth : 1 ,
60- borderColor : 'border.muted' ,
61- borderStyle : 'solid' ,
62- } }
63- >
55+ < ThemeProvider colorMode = "night" nightScheme = "dark_dimmed" >
6456 < Box
6557 sx = { {
66- py : 3 ,
67- pl : 4 ,
68- pr : 3 ,
69- alignItems : 'center' ,
70- justifyContent : 'space-between' ,
71- display : 'flex' ,
58+ borderWidth : 0 ,
59+ borderRadius : 0 ,
60+ borderBottomWidth : 1 ,
61+ borderColor : 'border.muted' ,
62+ borderStyle : 'solid' ,
63+ color : 'fg.default' ,
64+ bg : 'canvas.default' ,
7265 } }
7366 >
74- < Link to = "/" sx = { { display : 'inline-block' , color : 'inherit' } } >
75- { siteMetadata . title }
76- </ Link >
77- < Button aria-label = "Close" onClick = { setClose } >
78- < XIcon />
79- </ Button >
67+ < Box
68+ sx = { {
69+ py : 3 ,
70+ pl : 4 ,
71+ pr : 3 ,
72+ alignItems : 'center' ,
73+ justifyContent : 'space-between' ,
74+ display : 'flex' ,
75+ } }
76+ >
77+ < Link to = "/" sx = { { fontSize : 2 , color : 'fg.default' } } >
78+ { siteMetadata . title }
79+ </ Link >
80+ < Button aria-label = "Close" onClick = { setClose } >
81+ < XIcon />
82+ </ Button >
83+ </ Box >
8084 </ Box >
81- </ Box >
85+ </ ThemeProvider >
8286 < Box sx = { { display : 'flex' , flexDirection : 'column' } } >
8387 < NavItems />
8488 </ Box >
Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ const npmTheme = deepmerge(theme, {
2222 fg : {
2323 default : '#E1E4E8' ,
2424 } ,
25+ btn : {
26+ text : '#E1E4E8' ,
27+ bg : 'transparent' ,
28+ border : '#444D56' ,
29+ hoverBorder : '#444D56' ,
30+ hoverBg : NPM_RED ,
31+ } ,
2532 } ,
2633 } ,
2734 } ,
You can’t perform that action at this time.
0 commit comments