瀏覽代碼

chore: adjust proxy group font style

MystiPanda 1 年之前
父節點
當前提交
da949c2604
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      src/components/proxy/proxy-render.tsx

+ 2 - 8
src/components/proxy/proxy-render.tsx

@@ -90,14 +90,7 @@ export const ProxyRender = (props: RenderProps) => {
               }}
             >
               <StyledTypeBox>{group.type}</StyledTypeBox>
-              <StyledSubtitle
-                sx={{
-                  color: isDark ? "#ffffff" : "#8c8c8c",
-                  fontWeight: "600",
-                }}
-              >
-                {group.now}
-              </StyledSubtitle>
+              <StyledSubtitle>{group.now}</StyledSubtitle>
             </ListItemTextChild>
           }
           secondaryTypographyProps={{
@@ -194,6 +187,7 @@ const StyledPrimary = styled("span")`
 const StyledSubtitle = styled("span")`
   font-size: 12px;
   overflow: hidden;
+  color: text.secondary;
   text-overflow: ellipsis;
   white-space: nowrap;
 `;