colorProfileProperty¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/util/colorProfileProperty.js for the most up-to-date information.
Overview¶
Singleton Property<string> which chooses between the available color profiles of a simulation, such as 'default', 'project', 'basics', etc.
The color profile names available to a simulation are specified in package.json under phet.colorProfiles (or, if not specified, defaults to [ "default" ]. The first color profile that is listed will appear in the sim on startup, unless overridden by the sim or the colorProfile query parameter.
@author Sam Reid (PhET Interactive Simulations)
Source Code¶
See the source for colorProfileProperty.js in the scenery repository.