blob: 74efbf2ca5b6d6aa8a3746a79fcd23a45ff958b0 [file] [log] [blame]
Adrià Vilanova Martínez917797e2024-05-25 22:41:25 +02001import Feature from '../../common/architecture/features/Feature';
2import { ConcreteScript } from '../../common/architecture/scripts/Script';
3import { OptionCodename } from '../../common/options/optionsPrototype';
4import InjectAutoDarkTheme from './scripts/injectAutoDarkTheme.script';
5import InjectForcedDarkTheme from './scripts/injectForcedDarkTheme.script';
6import CCDarkThemeNodeWatcherScript from './scripts/nodeWatcher.script';
7
8export default class CCDarkThemeFeature extends Feature {
9 public readonly scripts: ConcreteScript[] = [
10 InjectAutoDarkTheme,
11 InjectForcedDarkTheme,
12 CCDarkThemeNodeWatcherScript,
13 ];
14
15 readonly codename = 'darkTheme';
16 readonly relatedOptions: OptionCodename[] = [
17 'ccdarktheme',
18 'ccdarktheme_mode',
19 'ccdarktheme_switch_status',
20 ];
21}