import BuildingColorTheme from "../classes/BuildingColorTheme" ; const DEFAULT_BUILDING_COLOR_THEME = new BuildingColorTheme ( "default" , "Green-Red colors" , 0xfd8b01 , 0x00cc00 , 0xee0000 ) ; const BLUEYELLOW_BUILDING_COLOR_THEME = new BuildingColorTheme ( "acc-blueyellow" , "Blue-Yellow colors" , 0xfd8b01 , 0x0000ff , 0xdcdc00 ) ; const GRAYSCALE_BUILDING_COLOR_THEME = new BuildingColorTheme ( "acc-grayscale" , "Grayscale" , 0xcccccc , 0xaaaaaa , 0x191919 ) ; export { DEFAULT_BUILDING_COLOR_THEME , BLUEYELLOW_BUILDING_COLOR_THEME , GRAYSCALE_BUILDING_COLOR_THEME , } ; export class BuildingColorThemes { public static availableBuildingColorThemes : BuildingColorTheme [ ] = [ DEFAULT_BUILDING_COLOR_THEME , BLUEYELLOW_BUILDING_COLOR_THEME , GRAYSCALE_BUILDING_COLOR_THEME , ] ; public static getModeById ( modeId ) { if ( ! modeId ) { return ; } for ( const availableMode of BuildingColorThemes . availableBuildingColorThemes ) { if ( availableMode . id === modeId ) { return availableMode ; } } } }