# Secondary list item does not get contrast color from primary text

**URL:** <https://community.appfarm.io/t/secondary-list-item-does-not-get-contrast-color-from-primary-text/470>\
**Category:** Ask the community\
**Created:** [May 10, 2023, 9:11am UTC](https://community.appfarm.io/t/secondary-list-item-does-not-get-contrast-color-from-primary-text/470 "2023-05-10T09:11:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan18](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/johan18/32/748_2.png) [@Johan18](https://community.appfarm.io/u/Johan18)\
**Post date:** [May 10, 2023, 9:11am UTC](https://community.appfarm.io/t/secondary-list-item-does-not-get-contrast-color-from-primary-text/470/1 "2023-05-10T09:11:36Z")

</div>

I have a list in a drawer. The Primary text seems to get its “primary contrast” text color due to dark background color, however the secondary text does not change to secondary contrast. Is this a bug or am I doing something wrong?

It does not help to change secondary text color to the same as primary text (opacity and color).

![Screenshot 2023-05-10 at 11.02.37](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/aad627146b4b9a652af4622c45418ed7d988cacd.png)  
 ![Screenshot 2023-05-10 at 11.02.33](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/b2cfb84b65c79003fe1648c579dd9436a8c019c7.png)  
 ![Screenshot 2023-05-10 at 11.02.17](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/4fa74fafc73cf479af563cbe55d6e3e8b3f89b9a.png)

---

<div class="post-metadata">

**Author:** ![ohaabrekke](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/ohaabrekke/32/61_2.png) [@ohaabrekke](https://community.appfarm.io/u/ohaabrekke)\
**Post date:** [May 10, 2023, 10:15am UTC](https://community.appfarm.io/t/secondary-list-item-does-not-get-contrast-color-from-primary-text/470/2 "2023-05-10T10:15:10Z")

</div>

Hi! We have noticed some issues with the contrast colors in the current version of Material UI that we are running. This is likely to be resolved when we upgrade to the next version of MUI.
