浏览代码

Merge branch 'release/1.0.0-pre-alpha.55'

lfabl 1 月之前
父节点
当前提交
a9ce8ed284
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      package.json
  2. 2 2
      src/components/siteLogo/index.tsx

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
     "name": "ncore-ui-kit",
-    "version": "1.0.0-pre-alpha.54",
+    "version": "1.0.0-pre-alpha.55",
     "description": "NİBGAT® | NCore - UI Kit for React-Native Mobile Apps.",
     "main": "./lib/module/index.js",
     "types": "./lib/typescript/src/index.d.ts",

+ 2 - 2
src/components/siteLogo/index.tsx

@@ -190,9 +190,9 @@ const SiteLogo = ({
             ]}
         >
             <Text
+                customColor={titleCustomColor ? colors.project[titleCustomColor] : undefined}
                 variant={titleVariant ? titleVariant : currentSize.titleSize}
                 color={titleColor ? titleColor : "high"}
-                customColor={titleCustomColor}
                 ellipsizeMode="tail"
                 numberOfLines={1}
                 style={{
@@ -204,9 +204,9 @@ const SiteLogo = ({
             {
                 subTitle ?
                     <Text
+                        customColor={subTitleCustomColor ? colors.project[subTitleCustomColor] : undefined}
                         variant={subTitleVariant ? subTitleVariant : currentSize.subTitleSize}
                         color={subTitleColor ? subTitleColor : "low"}
-                        customColor={subTitleCustomColor}
                         ellipsizeMode="tail"
                         numberOfLines={1}
                         style={{