Merge pull request #45295 from nextcloud/add-temporary-border-radius-variable

Add temporary variable for border radius
pull/45559/head
Marco 2024-05-29 09:52:18 +07:00 committed by GitHub
commit b7b2966ce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

@ -52,6 +52,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;

@ -183,6 +183,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',