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
@@ -4,7 +4,7 @@
height: 100%;
width: 100%;
background: var(--card-background);
animation: fadeIn 0.3s ease-in;
animation: fade-in 0.3s ease-in;
}
// Visibility utilities
@@ -38,7 +38,7 @@
color: var(--p-green-400);
font-size: 0.875rem;
font-weight: 600;
animation: fadeIn 0.3s ease-in;
animation: fade-in 0.3s ease-in;
i {
font-size: 1rem;
@@ -597,7 +597,7 @@
}
// Animation
@keyframes fadeIn {
@keyframes fade-in {
from {
opacity: 0;
}
@@ -161,10 +161,10 @@ $provider-colors: (
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
border: 1px solid var(--border-color);
margin-bottom: 1.25rem;
animation: slideIn 0.3s ease-out;
animation: slide-in 0.3s ease-out;
}
@keyframes slideIn {
@keyframes slide-in {
from {
opacity: 0;
transform: translateX(-20px);
@@ -176,7 +176,7 @@ $provider-colors: (
}
}
@keyframes slideInFromTop {
@keyframes slide-in-from-top {
from {
opacity: 0;
transform: translateY(-20px);
@@ -553,7 +553,7 @@ $provider-colors: (
display: flex;
flex-direction: row;
height: 200px;
animation: slideInFromTop 0.4s ease-out;
animation: slide-in-from-top 0.4s ease-out;
&:hover {
transform: translateY(-4px);
@@ -5,7 +5,7 @@
padding: 0;
width: 100%;
min-height: 100%;
animation: fadeIn 0.3s ease-in;
animation: fade-in 0.3s ease-in;
@media (width >= 768px) {
padding: 0.5rem;
@@ -200,7 +200,7 @@
}
}
@keyframes fadeIn {
@keyframes fade-in {
from {
opacity: 0;
}