pref: 移除 useColorModeValue
UI调整
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user