@@ -255,7 +253,7 @@ const StoreCard = ({
favorite_ ? IconOxygenStarFilled : IconOxygenStar
}
style={{
- color: favorite_ ? COLOR_PRODUCTION : undefined
+ color: favorite_ ? theme.colorPrimary : undefined
}}
onClick={handleOnStarBtnClick}
/>
@@ -268,13 +266,14 @@ const StoreCard = ({
-
{toolName}
+
+ {toolName}
+
{`ID: ${toolId}`}
{toolDesc && (
-
{`简介:${omitText(toolDesc, 18)}`}
+
+ {omitTextByByte(toolDesc, 64)}
+
)}
{showAuthor && (
@@ -288,7 +287,7 @@ const StoreCard = ({
alt={'Avatar'}
/>
}
- style={{ background: COLOR_BACKGROUND }}
+ style={{ background: theme.colorBgLayout }}
/>