From 29fe48b8ded6ab5ecc7bbb184dbe72262e3aba12 Mon Sep 17 00:00:00 2001 From: Grigory Date: Thu, 25 Jan 2024 14:55:53 +0500 Subject: [PATCH] fix(snippets): use class name to decrease `transition-duration` --- src/resources/snippets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/snippets.ts b/src/resources/snippets.ts index 0837bdc3..4091249e 100644 --- a/src/resources/snippets.ts +++ b/src/resources/snippets.ts @@ -290,7 +290,7 @@ export default [ { "title": "Smooth Progress/Volume Bar", "description": "Makes the Progress/Volume bar glide", - "code": "@property --progress-bar-transform { inherits: true; initial-value: 0%; syntax: ''; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar:active { transition-duration: 150ms !important; }", + "code": "@property --progress-bar-transform { inherits: true; initial-value: 0%; syntax: ''; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar--isDragging { transition-duration: 150ms !important; }", "preview": "resources/assets/snippets/smooth-progress-bar.png", }, {