

It is possible for a custom color to be assigned to a nickname using the setcolor command. When rendering each template, the color of each nickname is set using a the styleattribute.Ī custom attribute (formally colornumber) isno longer used to set the color in a rendered template. The new nickname colors are literal RGB or HSL values.įor example: hsl(293, 81%, 69%) Templates Nicknames are now assigned a consistent, unique color instead of picking from a pool of thirtypossibilities. The logic that determines which color is assigned to a nickname has changed.

Old NameĪll custom attributes that appeared in have moved to. Nearly all custom attributes have been renamed to provide greater consistency and easier accessthrough JavaScript.īelow is a table of all attributes that have been renamed.

The value of this attribute is automatically calculated based on the background color of thestyle. Example New AttributesĪdded data-appearance attribute to which is either 'dark' or 'light'. Modify the Template Engine Versions setting toinclude version 4. To advertise support for the new template engine version, edit the style's ist file. To encourage style authors to adapt the newest features of Textual 7, the template engineversion has changed.
