Skip to content

Commit b27e20d

Browse files
Feat: Add temporary variable for border radius
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
1 parent 6a4e12d commit b27e20d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/theming/css/default.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
--default-font-size: 15px;
5050
--animation-quick: 100ms;
5151
--animation-slow: 300ms;
52+
--border-radius-new-design: var(--border-radius-large); /** Nextcloud 29+ | temp variable to use old design */
5253
--border-radius: 3px;
5354
--border-radius-large: 10px;
5455
--border-radius-rounded: 28px;

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function getCSSVariables(): array {
189189
'--border-radius' => '3px',
190190
'--border-radius-large' => '10px',
191191
'--border-radius-rounded' => '28px',
192+
'--border-radius-new-design' => '10px',
192193
// pill-style button, value is large so big buttons also have correct roundness
193194
'--border-radius-pill' => '100px',
194195

0 commit comments

Comments
 (0)