aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/css/default.css2
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css
index 09fe02426d4..89659ab3ea9 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -55,6 +55,8 @@
--border-radius: 3px;
--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-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 c8b4d66c9bc..7797a60a4f1 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -186,6 +186,7 @@ class DefaultTheme implements ITheme {
'--border-radius' => '3px',
'--border-radius-large' => '10px',
'--border-radius-rounded' => '28px',
+ '--border-radius-element' => '10px',
// pill-style button, value is large so big buttons also have correct roundness
'--border-radius-pill' => '100px',