style(core): adjust ai icon color in starter-bar (#10280)

This commit is contained in:
Cats Juice
2025-02-19 16:05:34 +08:00
committed by GitHub
parent c39a93e1fd
commit 2d9162b3c4
2 changed files with 5 additions and 1 deletions

View File

@@ -64,6 +64,10 @@ export const badgeIcon = style({
color: cssVarV2.icon.primary,
});
export const aiIcon = style({
color: cssVarV2.icon.activated,
});
export const badgeText = style({
fontSize: 15,
lineHeight: '24px',

View File

@@ -119,7 +119,7 @@ const StarterBarNotEmpty = ({ doc }: { doc: Store }) => {
{enableAI ? (
<Badge
data-testid="start-with-ai-badge"
icon={<AiIcon />}
icon={<AiIcon className={styles.aiIcon} />}
text={t['com.affine.page-starter-bar.ai']()}
onClick={startWithAI}
/>