From 2eb7642cdb1819e3e0bcc28bdbbd434fce034f97 Mon Sep 17 00:00:00 2001 From: kramo Date: Tue, 4 Aug 2026 13:16:09 +0200 Subject: [PATCH] fix(theming): Speed up slow animations 300ms was maybe a bit too slow Signed-off-by: kramo --- apps/theming/css/default.css | 2 +- apps/theming/lib/Themes/DefaultTheme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css index af4aa60cc3acb..8fb391d80f3ad 100644 --- a/apps/theming/css/default.css +++ b/apps/theming/css/default.css @@ -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; diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index 559debb8f4668..9c8da7ba7bb25 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -214,7 +214,7 @@ public function getCSSVariables(): array { // 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