Color Style =========== .. _globalColorStyle: Global Color Style ------------------ OpenTwin provides a ``OTWidgets/GlobalColorStyle`` which holds the current color style aswell as all color styles that can be set. The ``GlobalColorStyle`` emits the ``currentStyleChanged`` signals whenever the current color style changs or gets replaced by a different instance. .. _colorStyleFile: Color Style File ---------------- A color style file may be loaded and parsed by the frontend application. A single color style file contains the color style information, values and a :ref:`dirty` style sheet. Structure ^^^^^^^^^ The ``*.otstyle`` file has the following syntax: .. code-block:: name: