# Themes and redundancy

**URL:** <https://forum.inductiveautomation.com/t/themes-and-redundancy/60428>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [June 6, 2022, 10:31pm UTC](https://forum.inductiveautomation.com/t/themes-and-redundancy/60428 "2022-06-06T22:31:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 6, 2022, 10:31pm UTC](https://forum.inductiveautomation.com/t/themes-and-redundancy/60428/1 "2022-06-06T22:31:28Z")

</div>

I am playing around with themes and redundancy. I have two gateways setup master/backup. I also have theme I added named `global`.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/c/7c1174d242b77159287771d186ebd5bb450f9508.png)

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

If I add some variables…

```auto
:root {
	/* Global Colors */
	--motor-stopped: #FF0000;
        --motor-running: black;
	
	--electrical-off: green;
	--electrical-on: red;
	--electrical-fault-flash-on: red;
	--electrical-fault-flash-off: white;
	
	/* Alarm */
	--alarm-priority-critical: #FF0000;
	--alarm-priority-high: #FFFF00;
	--alarm-priority-medium: #FF8C00;
	--alarm-priority-low: #FF00FF;
	--alarm-priority-diagnostic: #00FF00;
	
	--i-am-new: white;

}

```

… at what point will the two gateways sync? I did force a re-sync and noticed the new variable, but is there any other time where this event will happen?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 7, 2022, 6:20am UTC](https://forum.inductiveautomation.com/t/themes-and-redundancy/60428/2 "2022-06-07T06:20:56Z")

</div>

css usually only gets loaded in once. It also often gets cached. So a restart is your best bet, if you want it quick.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 7, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/themes-and-redundancy/60428/3 "2022-06-07T12:40:05Z")

</div>

Thanks, if I change something in a theme that is used in a component for example, that change will show if I save the project and also refresh the browser. That is completely acceptable and understandable. My question isn’t really related to that. but when and if the master/backup gateway will sync. I’m fine accepting things how they are, but I would like to know for certain so I can document for our customers. Right now it looks like the themes only sync on gateway restart. Forcing failover doesn’t seem to trigger anything (not that I would have expected that to).

Can someone help clarify/verify this, maybe @cmallonee ?
