aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@proton.me>2024-06-12 13:17:21 +0200
committerMarco Ambrosini <marcoambrosini@proton.me>2024-06-12 13:17:21 +0200
commit1337f4a7d59059d8e91c774b1dbdaaf98d0aa46f (patch)
tree20f88e72ce7b794eab938dd2dad9d09a478b7c2e
parent4c32ab7b729b7bb8e2a59eb4f8a0b3c657e0f2a1 (diff)
downloadnextcloud-server-1337f4a7d59059d8e91c774b1dbdaaf98d0aa46f.tar.gz
nextcloud-server-1337f4a7d59059d8e91c774b1dbdaaf98d0aa46f.zip
Feat: reduce border radius element to 8 px
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
-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 aeace97a32d..6457a8d7659 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -58,7 +58,7 @@
--border-radius-large: 10px;
--border-radius-rounded: 28px;
/* Border radius of interactive elements such as buttons, input, navigation and list items. Available since Nextcloud 30. */
- --border-radius-element: 10px;
+ --border-radius-element: 8px;
--border-radius-pill: 100px;
--default-clickable-area: 44px;
--default-line-height: 24px;
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php
index fa5dcb98c12..a89ac685876 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -168,7 +168,7 @@ class DefaultTheme implements ITheme {
'--border-radius' => '3px',
'--border-radius-large' => '10px',
'--border-radius-rounded' => '28px',
- '--border-radius-element' => '10px',
+ '--border-radius-element' => '8px',
// pill-style button, value is large so big buttons also have correct roundness
'--border-radius-pill' => '100px',