sjdemartini / mui-tiptap

A Material UI (MUI) styled WYSIWYG rich text editor, using Tiptap
MIT License
319 stars 43 forks source link

Use matching icon colors in Select controls (in light mode) #130

Closed sjdemartini closed 1 year ago

sjdemartini commented 1 year ago

This ensures that (in light mode) if a Select controls component renders an icon for the current value (and for the MenuSelectTextAlign, for the options too), it matches the color of the non-selected MenuButton controls and the color of the select dropdown arrow.

Notice it was falling back to the default text color (dark grey) instead of using the lighter grey ("active") for the icons inside Selects:

before after
image image