Skip to content

Commit 2eb7642

Browse files
committed
fix(theming): Speed up slow animations
300ms was maybe a bit too slow Signed-off-by: kramo <git@kramo.page>
1 parent 0748366 commit 2eb7642

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/theming/css/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
/* 1.5 x font-size for accessibility */
8080
--default-line-height: 1.5;
8181
--animation-quick: 100ms;
82-
--animation-slow: 300ms;
82+
--animation-slow: 200ms;
8383
/** Border width for input elements such as text fields and selects */
8484
--border-width-input: 1px;
8585
--border-width-input-focused: 2px;

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function getCSSVariables(): array {
214214

215215
// TODO: support "(prefers-reduced-motion)"
216216
'--animation-quick' => '100ms',
217-
'--animation-slow' => '300ms',
217+
'--animation-slow' => '200ms',
218218

219219
// Default variables --------------------------------------------
220220
// Border width for input elements such as text fields and selects

0 commit comments

Comments
 (0)