瀏覽代碼

♻️ refactor(mobile): update color import in HeaderLogo component

- replace COLORS with INK_COLORS import from styles/colors
- update text color reference to use INK_COLORS.text.primary
yourname 7 月之前
父節點
當前提交
7b00404b0e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/client/mobile/components/HeaderLogo.tsx

+ 2 - 2
src/client/mobile/components/HeaderLogo.tsx

@@ -1,5 +1,5 @@
 import React from 'react';
-import { COLORS } from '../styles/colors';
+import { INK_COLORS } from '../styles/colors';
 
 interface HeaderLogoProps {
   className?: string;
@@ -31,7 +31,7 @@ const HeaderLogo: React.FC<HeaderLogoProps> = ({
       {showName && (
         <h1
           className={`font-serif font-bold tracking-wide ${currentSize.name}`}
-          style={{ color: COLORS.text.primary }}
+          style={{ color: INK_COLORS.text.primary }}
         >
           银龄智慧
         </h1>