diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-21 09:28:28 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-25 17:12:27 +0200 |
commit | b2c21dbb1426c7581c2532b0630e6217bf3c29ca (patch) | |
tree | 8498a0344f9c998f5d87d046cd4e70e853be20a7 /apps/accessibility/lib/AccessibilityProvider.php | |
parent | 263d2c89fb2a8faa0cfdee230de2177b34534c9b (diff) | |
download | nextcloud-server-b2c21dbb1426c7581c2532b0630e6217bf3c29ca.tar.gz nextcloud-server-b2c21dbb1426c7581c2532b0630e6217bf3c29ca.zip |
OpenSans font contrast option
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/lib/AccessibilityProvider.php')
-rw-r--r-- | apps/accessibility/lib/AccessibilityProvider.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/accessibility/lib/AccessibilityProvider.php b/apps/accessibility/lib/AccessibilityProvider.php index 036ddf97660..068db7e3997 100644 --- a/apps/accessibility/lib/AccessibilityProvider.php +++ b/apps/accessibility/lib/AccessibilityProvider.php @@ -56,12 +56,12 @@ class AccessibilityProvider { public function getThemes() { return array( [ - 'id' => 'highcontrast', + 'id' => 'themehighcontrast', 'img' => $this->urlGenerator->imagePath($this->appName, 'theme-highcontrast.jpg'), 'title' => $this->l->t('High Contrast theme'), 'text' => $this->l->t('A high contrast theme to ease your navigation. Visual quality will be reduced but clarity will be increased.') ], [ - 'id' => 'dark', + 'id' => 'themedark', 'img' => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'), 'title' => $this->l->t('Dark theme'), 'text' => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness of your navigation. This is suitable for people who use computes a lot or in low luminosity spaces.') @@ -72,10 +72,16 @@ class AccessibilityProvider { public function getFonts() { return array( [ - 'id' => 'dyslexic', + 'id' => 'fontdyslexic', 'img' => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'), 'title' => $this->l->t('Dyslexia font'), 'text' => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia. The typeface was created by Abelardo Gonzalez, who released it through an open-source license.') + ], + [ + 'id' => 'fonthighcontrast', + 'img' => $this->urlGenerator->imagePath($this->appName, 'font-highcontrast.jpg'), + 'title' => $this->l->t('High Contrast font'), + 'text' => $this->l->t('Increase the weight of the font to improve the readability.') ] ); } |