# Custom themes

**URL:** <https://forum.inductiveautomation.com/t/custom-themes/5323>\
**Category:** Ignition\
**Created:** [October 24, 2012, 7:03pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323 "2012-10-24T19:03:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [October 24, 2012, 7:03pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/1 "2012-10-24T19:03:38Z")

</div>

Let’s suppose I’d like to bind color properties to tag values in order to synchronize my project’s color theme either to make project-wide color changes a breeze or just to let the user customize his/her viewer.  
How might I avoid latency issues when loading a page for the first try?  
In the past, I’ve linked color properties to tags and I need to wait for the tag to be read in order for the color to show, can I speed this process or completely avoid the load problems?  
Would it be best to bind colors to custom window properties first and bind those to my tags or should everything be anchored directly to my tags?

---

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [October 24, 2012, 7:50pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/2 "2012-10-24T19:50:22Z")

</div>

Just off the cuff, how about a login script that assigns values to client tags?

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [October 25, 2012, 8:09am UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/3 "2012-10-25T08:09:12Z")

</div>

Have you considered using Styles?

This [old video on styles](http://www.inductiveautomation.com/videos/video/27/3) from FactoryPMI shows an example.

---

<div class="post-metadata">

**Author:** ![tduryee](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tduryee](https://forum.inductiveautomation.com/u/tduryee)\
**Post date:** [October 25, 2012, 4:47pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/4 "2012-10-25T16:47:52Z")

</div>

Are you binding to a server-side tag, or client tag?  
I’ve noticed the server-side tags sometimes take a bit of time to initiate, but the client tags are usually fast.

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [October 26, 2012, 10:23pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/5 "2012-10-26T22:23:54Z")

</div>

In the video Nathan linked to, the styles are actually stored in a SQL Database. The binding is a SQL Query Binding, which grabs the desired style dataset out of the database and puts it into the ‘Styles’ property of your component.

As for SQLTags (not client tags), there are a few factors that can affect how long it takes for them to initialize. Not the least of which is the scan class the tag is in. The network, PLC (if applicable), and system load can also affect the performance.

Hope this is helpful, cheers.

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [November 14, 2012, 3:33pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/6 "2012-11-14T15:33:38Z")

</div>

color type properties are stored as which type in the database?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 14, 2012, 4:49pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/7 "2012-11-14T16:49:40Z")

</div>

As a string like one of these:

red  
255,0,0,255

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [November 16, 2012, 7:51pm UTC](https://forum.inductiveautomation.com/t/custom-themes/5323/8 "2012-11-16T19:51:20Z")

</div>

thanks travis. linking hundred of labels to a style stored in a database… who would have thought.
