import '../../globals.js';
// Copyright 2015-2024, University of Colorado Boulder
/**
 * Provides colors for Joist elements.
 *
 * @author Sam Reid (PhET Interactive Simulations)
 */
import DerivedProperty from '../../axon/js/DerivedProperty.js';
import Property from '../../axon/js/Property.js';
import { Color } from '../../scenery/js/imports.js';
import joist from './joist.js';
class LookAndFeel {
    constructor() {
        this.backgroundColorProperty = new Property(Color.BLACK);
        this.navigationBarDarkProperty = new DerivedProperty([this.backgroundColorProperty], backgroundColor => backgroundColor.equals(Color.BLACK));
        this.navigationBarFillProperty = new DerivedProperty([this.navigationBarDarkProperty], backgroundDark => backgroundDark ? Color.WHITE : Color.BLACK);
        this.navigationBarTextFillProperty = new DerivedProperty([this.navigationBarFillProperty], navigationBarFill => navigationBarFill.equals(Color.BLACK) ? Color.WHITE : Color.BLACK);
    }
    reset() {
        this.backgroundColorProperty.reset();
    }
}
joist.register('LookAndFeel', LookAndFeel);
export default LookAndFeel;
//# sourceMappingURL=LookAndFeel.js.map