# \[BUG-6553\] Ignition Perspective Drop Down search text color left out of style sheet

**URL:** <https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 10, 2022, 4:31pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016 "2022-10-10T16:31:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![keenern](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@keenern](https://forum.inductiveautomation.com/u/keenern)\
**Post date:** [October 10, 2022, 4:31pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/1 "2022-10-10T16:31:32Z")

</div>

I am working on a project using themes. When a dark theme is selected (does not matter which default dark themes) the text while searching a drop down does not display.  
Here is an image of the search text displaying in light themes:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/a/8a312394e85a92ff3ce7cb9cb858a190743132fd.png)  
here is an image of the search text displaying in dark themes:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/f/ff37a033899ea2cde7557bbff6a32a7c340118dc.png)

I can not find a way to edit the color of the text to something other than black.

---

<div class="post-metadata">

**Author:** ![jeremy.lecoutre](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@jeremy.lecoutre](https://forum.inductiveautomation.com/u/jeremy.lecoutre)\
**Post date:** [October 10, 2022, 5:01pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/2 "2022-10-10T17:01:53Z")

</div>

Apparently there is a small problem in IA css file.  
you can fix it by editing the dropdown.css file in [ignition\_base\_path]\data\modules\com.inductiveautomation.perspective\themes\light\common  
replace :

```auto
.ia_dropdown__search {
    font-size: 0.875rem;
}

```

by:

```auto
.ia_dropdown__search {
    font-size: 0.875rem;
    color: var(--neutral-80);
}

```

---

<div class="post-metadata">

**Author:** ![keenern](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@keenern](https://forum.inductiveautomation.com/u/keenern)\
**Post date:** [October 10, 2022, 5:05pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/3 "2022-10-10T17:05:02Z")

</div>

But if I edit the theme css i have to do it every time I upgrade ignition right?

Is there a way to inject it to make sure that I can fix it from the designer without updating the theme?

Also, it feels like that should be a property that can be adjusted in the designer just like the style and dropdownOptionStyle allow edits to text colors

FOUND METHOD TO FIX THANKS TO COWORKER  
in side a style sheet you can inject the color for search like so:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/6/862b0a8518ebe5df4d65b8f888cec69779e68123.png)

For anyone else looking for a way to make the change without adjusting anything outside of ignition designer.  
Thank you as well to jeremy.lecoutre

---

<div class="post-metadata">

**Author:** ![jeremy.lecoutre](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@jeremy.lecoutre](https://forum.inductiveautomation.com/u/jeremy.lecoutre)\
**Post date:** [October 10, 2022, 5:35pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/4 "2022-10-10T17:35:22Z")

</div>

I don't like css inject, but yes you can

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/ba6b7165415dd63134f70aeaed4c7106ce2dd6d5.png)

or you can create your own css theme, see readme file in data\modules\com.inductiveautomation.perspective\themes  
or you can wait 8.1.22 release wich give you a project style in designer:  
[https://forum.inductiveautomation.com/t/new-stylesheet-resource/64787](https://forum.inductiveautomation.com/t/new-stylesheet-resource/64787)

---

<div class="post-metadata">

**Author:** ![keenern](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@keenern](https://forum.inductiveautomation.com/u/keenern)\
**Post date:** [October 10, 2022, 5:38pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/5 "2022-10-10T17:38:40Z")

</div>

That is very useful as well. Creating our own is on our list of items to do. However, the specific project is using the 6 built in and I just needed a way to get it up and working for our customers. Short term fix is the injection (i agree it is kind of messy).

I also do not have access to the gateway the designers are on directly. So making changes at that level takes more time. But I can make the edits in the designer quickly and get it out to our customers.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 10, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/6 "2022-10-10T17:41:24Z")

</div>

This was also [fixed in 8.1.22](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2022/54636/142#:~:text=6553%3A%20Perspective%20Dropdown%20list%20text%20is%20not%20visible%20in%20the%20search%20bar), so if you take that version you don't need to apply any extra styling.

---

<div class="post-metadata">

**Author:** ![keenern](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@keenern](https://forum.inductiveautomation.com/u/keenern)\
**Post date:** [October 10, 2022, 7:03pm UTC](https://forum.inductiveautomation.com/t/bug-6553-ignition-perspective-drop-down-search-text-color-left-out-of-style-sheet/65016/7 "2022-10-10T19:03:33Z")

</div>

Thank you. We plan to update all of them to 8.1.22 Just a temp fix until the release week off 11/1/2022. Thank you for taking the time to review the thread!
