Explorar el Código

Faster toggle button animation.

dkonopka hace 7 años
padre
commit
adab789c13

+ 1 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css

@@ -34,7 +34,7 @@ of the component, floating–point numbers have been used which, for the default
 		margin-left: auto;
 		margin-left: auto;
 
 
 		/* Gently animate the background color of the toggle switch */
 		/* Gently animate the background color of the toggle switch */
-		transition: background 500ms ease;
+		transition: background 400ms ease;
 
 
 		width: var(--ck-switch-button-toggle-width);
 		width: var(--ck-switch-button-toggle-width);
 		background: var(--ck-color-switch-button-off-background);
 		background: var(--ck-color-switch-button-off-background);