Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(snippets): use class to decrease progress bar transition-duration #681

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(snippets): use class name to decrease transition-duration
SunsetTechuila committed Jan 25, 2024
commit 29fe48b8ded6ab5ecc7bbb184dbe72262e3aba12
2 changes: 1 addition & 1 deletion src/resources/snippets.ts
Original file line number Diff line number Diff line change
@@ -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: '<percentage>'; } .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: '<percentage>'; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar--isDragging { transition-duration: 150ms !important; }",
"preview": "resources/assets/snippets/smooth-progress-bar.png",
},
{