fix(theming): Speed up slow animations

300ms was maybe a bit too slow

Signed-off-by: kramo <git@kramo.page>
pull/62879/head
kramo 2 weeks ago
parent 07483662c1
commit 2eb7642cdb
No known key found for this signature in database
  1. 2
      apps/theming/css/default.css
  2. 2
      apps/theming/lib/Themes/DefaultTheme.php

@ -79,7 +79,7 @@
/* 1.5 x font-size for accessibility */
--default-line-height: 1.5;
--animation-quick: 100ms;
--animation-slow: 300ms;
--animation-slow: 200ms;
/** Border width for input elements such as text fields and selects */
--border-width-input: 1px;
--border-width-input-focused: 2px;

@ -214,7 +214,7 @@ class DefaultTheme implements ITheme {
// TODO: support "(prefers-reduced-motion)"
'--animation-quick' => '100ms',
'--animation-slow' => '300ms',
'--animation-slow' => '200ms',
// Default variables --------------------------------------------
// Border width for input elements such as text fields and selects

Loading…
Cancel
Save