8
0
فهرست منبع

Merge pull request #185 from ckeditor/t/183

Fix: The toggle switch button animation should be a tad faster. Closes #183.
Aleksander Nowodzinski 7 سال پیش
والد
کامیت
210b5b9c27
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css

+ 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;
 
 		/* Gently animate the background color of the toggle switch */
-		transition: background 500ms ease;
+		transition: background 400ms ease;
 
 		width: var(--ck-switch-button-toggle-width);
 		background: var(--ck-color-switch-button-off-background);