diff options
Diffstat (limited to 'apps/theming/lib/Themes/DarkHighContrastTheme.php')
-rw-r--r-- | apps/theming/lib/Themes/DarkHighContrastTheme.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/theming/lib/Themes/DarkHighContrastTheme.php b/apps/theming/lib/Themes/DarkHighContrastTheme.php index 965dac2922c..e6f1da94b4e 100644 --- a/apps/theming/lib/Themes/DarkHighContrastTheme.php +++ b/apps/theming/lib/Themes/DarkHighContrastTheme.php @@ -33,10 +33,6 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme { return 'dark-highcontrast'; } - public function getMediaQuery(): string { - return '(prefers-color-scheme: dark) and (prefers-contrast: more)'; - } - public function getTitle(): string { return $this->l->t('Dark theme with high contrast mode'); } @@ -49,6 +45,10 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme { return $this->l->t('Similar to the high contrast mode, but with dark colours.'); } + public function getMediaQuery(): string { + return '(prefers-color-scheme: dark) and (prefers-contrast: more)'; + } + /** * Keep this consistent with other HighContrast Themes */ |