mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat(component): adjust notify styles (#6578)
Change the styles of `notify.error`, `notify.warning`, and `notify.success` from `alert` to `normal` Add custom `iconColor` option
This commit is contained in:
@@ -70,7 +70,8 @@ export const AIOnboardingEdgeless = ({
|
||||
{
|
||||
title: t['com.affine.ai-onboarding.edgeless.title'](),
|
||||
message: t['com.affine.ai-onboarding.edgeless.message'](),
|
||||
icon: <AiIcon color={cssVar('processingColor')} />,
|
||||
icon: <AiIcon />,
|
||||
iconColor: cssVar('brandColor'),
|
||||
thumb: <EdgelessOnboardingAnimation />,
|
||||
alignMessage: 'icon',
|
||||
onDismiss,
|
||||
|
||||
@@ -44,9 +44,8 @@ export const AIResume = ({ ...btnProps }: AIResumeProps) => {
|
||||
SubscriptionPlan.AI
|
||||
);
|
||||
notify({
|
||||
icon: (
|
||||
<SingleSelectSelectSolidIcon color={cssVar('processingColor')} />
|
||||
),
|
||||
icon: <SingleSelectSelectSolidIcon />,
|
||||
iconColor: cssVar('processingColor'),
|
||||
title:
|
||||
t['com.affine.payment.ai.action.resume.confirm.notify.title'](),
|
||||
message:
|
||||
|
||||
Reference in New Issue
Block a user