diff options
author | Marco Ambrosini <marcoambrosini@proton.me> | 2024-05-27 12:12:28 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-27 23:57:22 +0200 |
commit | cd2d9ee67dfb1ebce0414f4c1f2443f3e2d97452 (patch) | |
tree | 1e662a5e3a83cb434ea6f5783dae66da8264403e /apps/theming | |
parent | bb1cb1c2315627964afe26316c661b9c591f26b1 (diff) | |
download | nextcloud-server-cd2d9ee67dfb1ebce0414f4c1f2443f3e2d97452.tar.gz nextcloud-server-cd2d9ee67dfb1ebce0414f4c1f2443f3e2d97452.zip |
Feat: Add temporary border-radius variable
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/css/default.css | 1 | ||||
-rw-r--r-- | apps/theming/lib/Themes/DefaultTheme.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css index 6a5f91af864..7c106cc3e4c 100644 --- a/apps/theming/css/default.css +++ b/apps/theming/css/default.css @@ -49,6 +49,7 @@ --default-font-size: 15px; --animation-quick: 100ms; --animation-slow: 300ms; + --border-radius-element: 10px; /** Nextcloud 29+ | temp variable to use old design */ --border-radius: 3px; --border-radius-large: 10px; --border-radius-rounded: 28px; diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index c48cc08f30b..390a8f5dddb 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -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', |