瀏覽代碼

style: Adjust delay fontSize

#544
MystiPanda 1 年之前
父節點
當前提交
460ac7a86b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/components/proxy/proxy-item-mini.tsx
  2. 1 1
      src/pages/_theme.tsx

+ 1 - 1
src/components/proxy/proxy-item-mini.tsx

@@ -193,7 +193,7 @@ export const ProxyItemMini = (props: Props) => {
 
 const Widget = styled(Box)(({ theme: { typography } }) => ({
   padding: "2px 4px",
-  fontSize: 12,
+  fontSize: 14,
   fontFamily: typography.fontFamily,
   borderRadius: "4px",
 }));

+ 1 - 1
src/pages/_theme.tsx

@@ -10,7 +10,7 @@ export const defaultTheme = {
   info_color: "#007AFF",
   error_color: "#FF3B30",
   warning_color: "#FF9500",
-  success_color: "#34C759",
+  success_color: "#06943D",
   background_color: "#f5f5f5",
   font_family: `-apple-system, BlinkMacSystemFont,"Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", ${
     OS === "windows" ? "twemoji mozilla" : ""