@@ -45,7 +45,7 @@ export default class SidebarMobile extends Component {
4545 onTouchEnd = { this . _handleTouchEnd }
4646 />
4747
48- < div className = "relative w-[285px] h-screen overflow-x-hidden py-1 bg-white shadow-[0_0_15px_rgba(0,0,0,0.2)]" >
48+ < div className = "relative w-[285px] h-screen overflow-x-hidden py-1 bg-white dark:bg-[#121212] shadow-[0_0_15px_rgba(0,0,0,0.2)]" >
4949 < button
5050 className = "sidebar-mobile__close absolute cursor-pointer border-none right-[22px] top-[10px] text-[1.3em] bg-[#175d96] text-white w-[30px] h-[30px] flex items-center justify-center rounded-full transition-colors duration-150 [-webkit-tap-highlight-color:transparent] hover:bg-[#135d96]"
5151 onClick = { toggle . bind ( null , false ) }
@@ -93,7 +93,8 @@ export default class SidebarMobile extends Component {
9393 className = { clsx (
9494 "uppercase pt-[0.75em] px-4 pb-[0.25em] font-semibold block text-[1.1rem]" ,
9595 active ? "text-[#465E69]" : "text-[#2B3A42]" ,
96- index > 0 && "border-t border-gray-200" ,
96+ index > 0 && "border-t border-gray-200 dark:border-[#343434]" ,
97+ "dark:text-[#cadbe6]" ,
9798 ) }
9899 key = { section . url }
99100 to = { section . url }
@@ -131,8 +132,8 @@ export default class SidebarMobile extends Component {
131132 className = { clsx (
132133 "block py-[0.5em] px-[17px] capitalize [-webkit-tap-highlight-color:transparent] ml-[20px]" ,
133134 active
134- ? "text-gray-900 font-semibold bg-[#f1f4f4]"
135- : "text-gray-600 hover:text-gray-600 active:text-gray-900 active:font-semibold active:bg-[#f1f4f4]" ,
135+ ? "text-gray-900 font-semibold bg-[#f1f4f4] dark:text-white dark:bg-[#222424] "
136+ : "text-gray-600 dark:text-[#a3a3a3] hover:text-gray-600 active:text-gray-900 active:font-semibold active:bg-[#f1f4f4] dark:active:bg-[#222424] dark:active:text-white " ,
136137 ) }
137138 to = { url }
138139 onClick = { this . props . toggle . bind ( null , false ) }
0 commit comments