Bläddra i källkod

chore: adjust proxy group font style

MystiPanda 1 år sedan
förälder
incheckning
da949c2604
1 ändrade filer med 2 tillägg och 8 borttagningar
  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;
 `;