Does anyone know where to find the setting in ignition that controls the color of the selected text on the screen. below is the CSS code that controls it. I am working with a predefined theme from my company and the color they picked is impossible to see on a white background.
*** Works on common browsers ***
selection {
background-color: #352e7e;
color: #fff;
}
There are a couple of different places which allow for setting CSS rules, with the differences depending on the scope or breadth of your desired impact.
To apply this setting to:
Every project on the Gateway, create your own custom theme files which inherit from the default Perspective theme files and place this rule within the appropriate file.
Just a single project (only available in version 8.1.22 or newer), use the stylesheet.css resource available by right-clicking Styles in the Project Browser within the Perspective context and selecting Enable Advanced Stylesheet.
This looks like you're trying to set the rule to only apply to certain components which have a Style applied, so that's what my steps will describe. If you want a broader application, the steps will vary.
Create a named style within the Style directory. For now, let's assume you name this Style "Selected". You do not need to apply any setting to this class.
Set Landscape in: TextField.props.style.classes to have a value of "Selected".
In the stylesheet.css resource, supply the following code: