diff --git a/src/compenents/left-menu/index.tsx b/src/compenents/left-menu/index.tsx index 4931c25..1826d15 100644 --- a/src/compenents/left-menu/index.tsx +++ b/src/compenents/left-menu/index.tsx @@ -19,7 +19,7 @@ const items = [ getItem( "首页概览", "/", - , + , null, null ), diff --git a/src/index.less b/src/index.less index 540b414..a143aac 100644 --- a/src/index.less +++ b/src/index.less @@ -109,6 +109,7 @@ code { color: #04c877; } + .c-red { color: #ff4d4f; } @@ -153,10 +154,6 @@ code { margin-right: 16px !important; margin-top: 8px !important; margin-bottom: 8px !important; - color: rgba(#333333, 0.3); - .ant-menu-title-content { - color: #333333; - } } .ant-menu-submenu { @@ -165,10 +162,6 @@ code { margin-right: 12px !important; margin-top: 6px !important; margin-bottom: 6px !important; - color: rgba(#333333, 0.3); - .ant-menu-title-content { - color: #333333; - } } .ant-menu, @@ -191,24 +184,15 @@ code { .ant-menu-submenu-active > .ant-menu-submenu-title { background-color: rgba(#ff4d4f, 0.1) !important; - .iconfont { - color: rgba(#333333, 0.3); - } } .ant-menu-item-active { background-color: rgba(#ff4d4f, 0.1) !important; - .iconfont { - color: rgba(#333333, 0.3) !important; - } } .ant-menu-item-selected { background-color: #ff4d4f !important; color: white !important; - .ant-menu-title-content { - color: white; - } } .ant-menu-submenu-selected > .ant-menu-submenu-title {