#Styles changing Select

1 messages · Page 1 of 1 (latest)

rotund musk
#

After upgrading Mantine the default color and the text color have changed for Select but I can't find anything about it in the change log. Whats the best way to change this as the white text is not readable as much.

red current
rotund musk
#

Still appears different top is pre update

red current
rotund musk
#

I am using tailwind yes

red current
#

Then that's probably the issue.

red current
rotund musk
#

I am not adding any tw classes to the select tho

#

Except for width and height and it is rendering those.

red current
#

Did you add any of tailwind's base/global styles?

#

In any case, it might help to try to recreate the issue using the codesandbox provided in #🥦-rules to check if it really is mantine v4 to v5.

rotund musk
#

Think it has to do with .mantine-Select-selected no longer being available ?

rotund musk
#

Has to do with data-selected and data-hovered

#

Just need to figure out how to do it in sass now

rotund musk
#

Is there a way to do this with sass ?

dreamy lodge
rotund musk
#

like so ? mantine-Select-item&[data-selected]

#

Tried allot but does not seem to trigger the styling