mirror of https://github.com/buster-so/buster.git
Update icon color
This commit is contained in:
parent
7e14da4676
commit
03b9e29a6f
|
@ -1,8 +1,6 @@
|
|||
import type { TComboboxInputElement } from 'platejs';
|
||||
|
||||
import type { PlateElementProps } from 'platejs/react';
|
||||
import { PlateElement } from 'platejs/react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { getSlashGroups } from '../config/addMenuItems';
|
||||
|
||||
import {
|
||||
|
@ -49,7 +47,7 @@ export function SlashInputElement(props: PlateElementProps<TComboboxInputElement
|
|||
group={group}
|
||||
keywords={keywords ? [...keywords] : undefined}
|
||||
>
|
||||
<div className="text-muted-foreground mr-2">{icon}</div>
|
||||
<div className="text-icon-color mr-2">{icon}</div>
|
||||
{label ?? value}
|
||||
</InlineComboboxItem>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue