style(frontend): enforce keyframes-name-pattern in scss

- Stylelint:
  - re-enable keyframes-name-pattern in the frontend Stylelint config
  - keep the rule rollout isolated so the animation naming change can be reviewed or reverted independently
- Animation styles:
  - rename camelCase keyframes to kebab-case in the flagged reader, metadata, auth, and directory-picker stylesheets
  - update the matching local animation references in the same files so behavior stays unchanged
- Validation:
  - run just ui stylelint
This commit is contained in:
James Cox
2026-04-22 17:26:46 -04:00
committed by Zach Yale
parent 32765de84c
commit 7058992145
21 changed files with 94 additions and 95 deletions
@@ -30,7 +30,7 @@
max-width: $max-width;
position: relative;
z-index: 1;
animation: slideUp 0.6s ease-out;
animation: slide-up 0.6s ease-out;
@media (width <= 640px) {
width: 95%;
@@ -172,7 +172,7 @@
color: #ef4444;
font-size: 0.8rem;
margin-top: -0.25rem;
animation: fadeIn 0.3s ease-out;
animation: fade-in 0.3s ease-out;
i {
font-size: 0.75rem;
@@ -207,18 +207,18 @@
}
@mixin message-container {
animation: fadeIn 0.3s ease-out;
animation: fade-in 0.3s ease-out;
}
@mixin error-message {
animation: shake 0.4s ease-in-out, fadeIn 0.3s ease-out;
animation: shake 0.4s ease-in-out, fade-in 0.3s ease-out;
}
@mixin success-message {
animation: successPulse 0.5s ease-out;
animation: success-pulse 0.5s ease-out;
}
@keyframes slideUp {
@keyframes slide-up {
from {
opacity: 0;
transform: translateY(30px);
@@ -230,7 +230,7 @@
}
}
@keyframes fadeIn {
@keyframes fade-in {
from {
opacity: 0;
}
@@ -278,7 +278,7 @@
}
}
@keyframes successPulse {
@keyframes success-pulse {
0% {
opacity: 0;
transform: scale(0.95);