chore: fix icon color

This commit is contained in:
Aman Harwara
2023-07-13 16:35:54 +05:30
parent 2c68ea1d76
commit 95a9aafc91
4 changed files with 6 additions and 5 deletions

View File

@@ -2,7 +2,6 @@ export function GetRemoteImageBlock(onSelect: () => void) {
return {
name: 'Image from URL',
iconName: 'file-image',
iconClassName: '!text-current',
keywords: ['image', 'url'],
onSelect,
}

View File

@@ -68,7 +68,6 @@ const MobileToolbarPlugin = () => {
(): {
name: string
iconName: string
iconClassName?: string
keywords?: string[]
onSelect: () => void
}[] => [
@@ -228,7 +227,7 @@ const MobileToolbarPlugin = () => {
onClick={item.onSelect}
key={item.name}
>
<Icon type={item.iconName} size="medium" className={item.iconClassName} />
<Icon type={item.iconName} size="medium" className="!text-current [&>path]:!text-current" />
</button>
)
})}