Skip to content

Commit

Permalink
Add variable for border width
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
  • Loading branch information
marcoambrosini committed May 16, 2024
1 parent 6a4e12d commit f23b5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/theming/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
--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-radius: 3px;
--border-radius-large: 10px;
--border-radius-rounded: 28px;
Expand Down
2 changes: 2 additions & 0 deletions apps/theming/lib/Themes/DefaultTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ public function getCSSVariables(): array {
'--animation-slow' => '300ms',

// Default variables --------------------------------------------
// Border width for input elements such as text fields and selects
'--border-width-input' => '1px',
'--border-radius' => '3px',
'--border-radius-large' => '10px',
'--border-radius-rounded' => '28px',
Expand Down

0 comments on commit f23b5e9

Please sign in to comment.