Adrià Vilanova MartÃnez | 3b585fd | 2024-11-10 19:17:31 +0100 | [diff] [blame] | 1 | import StylesheetScript from '../../../../common/architecture/scripts/stylesheet/StylesheetScript'; |
2 | |||||
3 | export default class IncreaseContrastStylesScript extends StylesheetScript { | ||||
4 | stylesheet = 'css/increase_contrast.css'; | ||||
5 | page: never; | ||||
6 | |||||
7 | async shouldBeInjected(): Promise<boolean> { | ||||
8 | return await this.optionsProvider.isEnabled('increasecontrast'); | ||||
9 | } | ||||
10 | } |