Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variables

Feat: add new clickable area variables
pull/45945/head
Marco 2024-06-14 09:31:50 +07:00 committed by GitHub
commit 018a0ae66f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

@ -60,7 +60,9 @@
/* Border radius of interactive elements such as buttons, input, navigation and list items. Available since Nextcloud 30. */
--border-radius-element: 8px;
--border-radius-pill: 100px;
--default-clickable-area: 44px;
--default-clickable-area: 34px;
--clickable-area-large: 48px;
--clickable-area-small: 24px;
--default-line-height: 24px;
--default-grid-baseline: 4px;
--header-height: 50px;

@ -172,7 +172,9 @@ class DefaultTheme implements ITheme {
// pill-style button, value is large so big buttons also have correct roundness
'--border-radius-pill' => '100px',
'--default-clickable-area' => '44px',
'--default-clickable-area' => '34px',
'--clickable-area-large' => '48px',
'--clickable-area-small' => '24px',
'--default-line-height' => '24px',
'--default-grid-baseline' => '4px',