aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/css/default.css3
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php3
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css
index 43c7165fe8f..89659ab3ea9 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -49,6 +49,9 @@
--default-font-size: 15px;
--animation-quick: 100ms;
--animation-slow: 300ms;
+ /** Border width for input elements such as text fields and selects */
+ --border-width-input: 1px;
+ --border-width-input-focused: 2px;
--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 390a8f5dddb..7797a60a4f1 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -180,6 +180,9 @@ class DefaultTheme implements ITheme {
'--animation-slow' => '300ms',
// Default variables --------------------------------------------
+ // Border width for input elements such as text fields and selects
+ '--border-width-input' => '1px',
+ '--border-width-input-focused' => '2px',
'--border-radius' => '3px',
'--border-radius-large' => '10px',
'--border-radius-rounded' => '28px',