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
@@ -19,10 +19,10 @@ $transition-normal: 200ms ease;
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn $transition-normal;
animation: fade-in $transition-normal;
}
@keyframes fadeIn {
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@@ -38,7 +38,7 @@ $transition-normal: 200ms ease;
flex-direction: column;
overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
animation: slide-up 250ms cubic-bezier(0.4, 0, 0.2, 1);
@media (width <= 768px) {
width: 95%;
@@ -47,7 +47,7 @@ $transition-normal: 200ms ease;
}
}
@keyframes slideUp {
@keyframes slide-up {
from {
transform: translateY(20px);
opacity: 0;
@@ -198,7 +198,7 @@ $transition-normal: 200ms ease;
}
.metadata-group {
animation: fadeIn $transition-normal;
animation: fade-in $transition-normal;
&:not(:last-child) {
padding-bottom: 16px;