feat: speed up copy-flash timing by ~25% — follow-up to #113 #121
@@ -29,6 +29,6 @@ body {
|
||||
|
||||
.copy-flash-fade {
|
||||
transition:
|
||||
background-color 300ms ease-out,
|
||||
color 300ms ease-out;
|
||||
background-color 225ms ease-out,
|
||||
color 225ms ease-out;
|
||||
}
|
||||
|
||||
@@ -267,8 +267,8 @@ function flashCopyFeedback(el) {
|
||||
el.classList.add("copy-flash-fade");
|
||||
setTimeout(() => {
|
||||
el.classList.remove("copy-flash-fade");
|
||||
}, 350);
|
||||
}, 100);
|
||||
}, 275);
|
||||
}, 75);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user