Update icon color

This commit is contained in:
Nate Kelley 2025-09-09 11:38:33 -06:00
parent 7e14da4676
commit 03b9e29a6f
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 3 deletions

View File

@ -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>
))}