blob: 74efbf2ca5b6d6aa8a3746a79fcd23a45ff958b0 [file] [log] [blame]
import Feature from '../../common/architecture/features/Feature';
import { ConcreteScript } from '../../common/architecture/scripts/Script';
import { OptionCodename } from '../../common/options/optionsPrototype';
import InjectAutoDarkTheme from './scripts/injectAutoDarkTheme.script';
import InjectForcedDarkTheme from './scripts/injectForcedDarkTheme.script';
import CCDarkThemeNodeWatcherScript from './scripts/nodeWatcher.script';
export default class CCDarkThemeFeature extends Feature {
public readonly scripts: ConcreteScript[] = [
InjectAutoDarkTheme,
InjectForcedDarkTheme,
CCDarkThemeNodeWatcherScript,
];
readonly codename = 'darkTheme';
readonly relatedOptions: OptionCodename[] = [
'ccdarktheme',
'ccdarktheme_mode',
'ccdarktheme_switch_status',
];
}