# Editing Themes, what is the update trigger?

**URL:** <https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [January 28, 2022, 6:48pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500 "2022-01-28T18:48:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [January 28, 2022, 6:48pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/1 "2022-01-28T18:48:53Z")

</div>

I am working on overriding theme css [(including dropdown options height from this post)](https://forum.inductiveautomation.com/t/perspective-set-number-of-options-shown-in-dropdown-change-dropdown-options-height/34960)… When is the gateway or perspective session loading the newly update css rules? TIA

---

<div class="post-metadata">

**Author:** ![thewebpleb](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/thewebpleb/32/27415_2.png) [@thewebpleb](https://forum.inductiveautomation.com/u/thewebpleb)\
**Post date:** [January 28, 2022, 10:29pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/2 "2022-01-28T22:29:14Z")

</div>

Try clicking `File -> Update Project` or click this button to merge changes from the gateway.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/db4d5f5463cdb29560d45b9eb452287a67dab2f4.png)

If you still don’t see changes after clicking the update button a few times, try closing the view you’re working on and reopening it.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 29, 2022, 7:53am UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/3 "2022-01-29T07:53:51Z")

</div>

Not sure about the update project button, but in the designer you can get the modified css to show by changing the theme and then then changing it back. No need to save between changing. I simply add a space at the end of the theme value, click off of it to set it, then remove the space. It would be nice if there was a more intuitive and simple way 🤷

In a client you’ll need to refresh the browser F5

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 14, 2023, 7:56am UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/4 "2023-04-14T07:56:08Z")

</div>

None of these things seem to work for me.  
The only way I found to trigger a refresh is to restart the gw. Which is far from ideal.

What's what:

- 8.1.17 (this can't be changed for now)
- dockerized ignition
- volume on `{install_folder}/data`
- bind mount on `{install_fodler}/data/modules/com.inductiveautomation.perspective/themes` So I can edit things more easily.
- Here's what I have in the themes folder:

```auto
{builtin folders}
custom-light (folder)
    - index.css
    - variables.css
{builtin css}
custom-light.css

```

- `custom-light.css`:

```css
@import "./light/index.css";
@import "./custom-light/index.css";

```

Modifications to `custom-light/variables.css` don't appear on the project/gateway until I actually reboot the gateway or the container.  
How can I fix that ?  
I thought that maybe folders aren't automatically refreshed, and since `cutsom-light.css`, which references things, wasn't modified, the gateway doesn't pull my modifications.  
But I tried to change it a little bit, and nothing happened.

How do I use themes without having to restart my gateway every time I edit something ?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 14, 2023, 11:21am UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/5 "2023-04-14T11:21:59Z")

</div>

Given your "what's what" constraints, probably nothing. Restart your gateway after editing your themes.

But have you tried restarting just the Perspective module?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 14, 2023, 12:37pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/6 "2023-04-14T12:37:12Z")

</div>

This I had not tried. It does work. Better than restarting the whole gateway.

What in my setup would prevent themes from updating more easily ?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 14, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/7 "2023-04-14T14:40:14Z")

</div>

Newer versions of Ignition have project-specific stylesheets, reducing the need to put all oddball CSS in your themes. In particular, you can use the project stylesheets to test the CSS you eventually want to have site-wide, but without disrupting other projects in the meantime.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 14, 2023, 3:20pm UTC](https://forum.inductiveautomation.com/t/editing-themes-what-is-the-update-trigger/55500/8 "2023-04-14T15:20:20Z")

</div>

Well, anyway, I just learned that I won't have access to the machine were ignition is installed for this specific project, so I guess the whole thing is moot.  
I'll have to, well... use the old barbaric ways.
