mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore: bump icons with new design source (#9529)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
||||
import { SingleSelectCheckSolidIcon } from '@blocksuite/icons/rc';
|
||||
import type { StoryFn } from '@storybook/react';
|
||||
import { cssVar } from '@toeverything/theme';
|
||||
import { type HTMLAttributes, useState } from 'react';
|
||||
@@ -90,11 +90,11 @@ export const CustomIcon: StoryFn = () => {
|
||||
{ label: 'No icon', icon: null },
|
||||
{
|
||||
label: 'SingleSelectIcon',
|
||||
icon: <SingleSelectSelectSolidIcon />,
|
||||
icon: <SingleSelectCheckSolidIcon />,
|
||||
},
|
||||
{
|
||||
label: 'Icon Color',
|
||||
icon: <SingleSelectSelectSolidIcon color={cssVar('successColor')} />,
|
||||
icon: <SingleSelectCheckSolidIcon color={cssVar('successColor')} />,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
InformationFillDuotoneIcon,
|
||||
SingleSelectSelectSolidIcon,
|
||||
SingleSelectCheckSolidIcon,
|
||||
} from '@blocksuite/icons/rc';
|
||||
import type { FC } from 'react';
|
||||
import { type ExternalToast, toast } from 'sonner';
|
||||
@@ -50,7 +50,7 @@ notify.error = (notification: Notification, options?: ExternalToast) => {
|
||||
notify.success = (notification: Notification, options?: ExternalToast) => {
|
||||
return notify(
|
||||
{
|
||||
icon: <SingleSelectSelectSolidIcon />,
|
||||
icon: <SingleSelectCheckSolidIcon />,
|
||||
style: 'normal',
|
||||
theme: 'success',
|
||||
...notification,
|
||||
|
||||
Reference in New Issue
Block a user