+ if($defined(this.options.tsaturation)) this.__styleValues.textSaturation = this.options.tsaturation;
+ if($defined(this.options.tlightness)) this.__styleValues.textLightness = this.options.tlightness;
+
+ if($defined(this.options.hue)) { /* overridden in url */
+ /* ugh... this will go away when we add proper options for hue/sat/light for text and background */
+ this.uiOptions.setValueByPrefix("STYLE_HUE", this.__styleValues.hue);
+ } else {
+ this.__styleValues.hue = this.uiOptions.STYLE_HUE; /* otherwise copy from serialised store */
+ }
+ this.__styleValues.textHue = $defined(this.options.thue) ? this.options.thue : this.__styleValues.hue;