Explorar o código

♻️ 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 hai 7 meses
pai
achega
7b00404b0e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 React from 'react';
-import { COLORS } from '../styles/colors';
+import { INK_COLORS } from '../styles/colors';
 
 
 interface HeaderLogoProps {
 interface HeaderLogoProps {
   className?: string;
   className?: string;
@@ -31,7 +31,7 @@ const HeaderLogo: React.FC<HeaderLogoProps> = ({
       {showName && (
       {showName && (
         <h1
         <h1
           className={`font-serif font-bold tracking-wide ${currentSize.name}`}
           className={`font-serif font-bold tracking-wide ${currentSize.name}`}
-          style={{ color: COLORS.text.primary }}
+          style={{ color: INK_COLORS.text.primary }}
         >
         >
           银龄智慧
           银龄智慧
         </h1>
         </h1>