pref: 移除 useColorModeValue

UI调整
This commit is contained in:
zdl
2025-12-09 19:26:52 +08:00
parent 4f38505a80
commit 9423094af2
6 changed files with 44 additions and 43 deletions

View File

@@ -52,7 +52,7 @@ const StockQuoteCard: React.FC<StockQuoteCardProps> = ({
isLoading = false,
}) => {
// 黑金主题颜色配置
const cardBg = '#000000';
const cardBg = '#1A202C';
const borderColor = '#C9A961';
const labelColor = '#C9A961';
const valueColor = '#F4D03F';
@@ -76,9 +76,9 @@ const StockQuoteCard: React.FC<StockQuoteCardProps> = ({
return (
<Card bg={cardBg} shadow="sm" borderWidth="1px" borderColor={borderColor}>
<CardBody py={4} px={6}>
<CardBody>
{/* 顶部:股票名称 + 更新时间 */}
<Flex justify="space-between" align="center" mb={4}>
<Flex justify="space-between" align="center">
<HStack spacing={3}>
<Text fontSize="24px" fontWeight="bold" color={valueColor}>
{data.name}