import '../../query-string-machine/js/QueryStringMachine.js';
import '../../globals.js';
// Copyright 2016-2024, University of Colorado Boulder

/**
 * Query parameters for the sun demo application.
 *
 * @author Chris Malley (PixelZoom, Inc.)
 */

import sun from './sun.js';

const sunQueryParameters = QueryStringMachine.getAll( {

  // background color of the screens
  backgroundColor: {
    type: 'string', // CSS color format, e.g. 'green', 'ff8c00', 'rgb(255,0,255)'
    defaultValue: 'white'
  },

  // initial selection for the component selector for a screen, values are the same as the labels on combo box items
  component: {
    type: 'string',
    defaultValue: null
  },

  // initial selection on the Layout screen, values are the same as the labels on combo box items
  layout: {
    type: 'string',
    defaultValue: 'Width of multiple panels'
  }
} );

sun.register( 'sunQueryParameters', sunQueryParameters );

export default sunQueryParameters;