aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-07-21 14:06:04 +0200
committerGitHub <noreply@github.com>2023-07-21 14:06:04 +0200
commitd0957ffd977839367b376fae55b48ae34440350e (patch)
tree43ad79ee52ac8fc554e25cf24456ecb8d5470de8 /apps
parent7c80d66ee5cbbc4e40dfa1a7e0ef115b62980942 (diff)
parentd891a0a83a4e95ed6ed71f1a53919fe0451a1822 (diff)
downloadnextcloud-server-d0957ffd977839367b376fae55b48ae34440350e.tar.gz
nextcloud-server-d0957ffd977839367b376fae55b48ae34440350e.zip
Merge pull request #39008 from nextcloud/enh/noid/reorder-fonts
switch to bootstrap font-stack
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/css/default.css2
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css
index e4f0652472d..71b4cca6ff3 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -40,7 +40,7 @@
--color-border: #ededed;
--color-border-dark: #dbdbdb;
--color-border-maxcontrast: #949494;
- --font-face: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, sans-serif, 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
+ --font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--default-font-size: 15px;
--animation-quick: 100ms;
--animation-slow: 300ms;
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php
index e73b2c03fda..75d738f12ee 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -171,7 +171,7 @@ class DefaultTheme implements ITheme {
'--color-border-dark' => $this->util->darken($colorMainBackground, 14),
'--color-border-maxcontrast' => $this->util->darken($colorMainBackground, 42),
- '--font-face' => "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, sans-serif, 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
+ '--font-face' => "system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
'--default-font-size' => '15px',
// TODO: support "(prefers-reduced-motion)"