Skip to content

Commit f23b5e9

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

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/theming/css/default.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
--default-font-size: 15px;
5050
--animation-quick: 100ms;
5151
--animation-slow: 300ms;
52+
/** Border width for input elements such as text fields and selects */
53+
--border-width-input: 1px;
5254
--border-radius: 3px;
5355
--border-radius-large: 10px;
5456
--border-radius-rounded: 28px;

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ public function getCSSVariables(): array {
186186
'--animation-slow' => '300ms',
187187

188188
// Default variables --------------------------------------------
189+
// Border width for input elements such as text fields and selects
190+
'--border-width-input' => '1px',
189191
'--border-radius' => '3px',
190192
'--border-radius-large' => '10px',
191193
'--border-radius-rounded' => '28px',

0 commit comments

Comments
 (0)