mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
style(core): adjust ai icon color in starter-bar (#10280)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user