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,
|
color: cssVarV2.icon.primary,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const aiIcon = style({
|
||||||
|
color: cssVarV2.icon.activated,
|
||||||
|
});
|
||||||
|
|
||||||
export const badgeText = style({
|
export const badgeText = style({
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
lineHeight: '24px',
|
lineHeight: '24px',
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ const StarterBarNotEmpty = ({ doc }: { doc: Store }) => {
|
|||||||
{enableAI ? (
|
{enableAI ? (
|
||||||
<Badge
|
<Badge
|
||||||
data-testid="start-with-ai-badge"
|
data-testid="start-with-ai-badge"
|
||||||
icon={<AiIcon />}
|
icon={<AiIcon className={styles.aiIcon} />}
|
||||||
text={t['com.affine.page-starter-bar.ai']()}
|
text={t['com.affine.page-starter-bar.ai']()}
|
||||||
onClick={startWithAI}
|
onClick={startWithAI}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user