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:
@@ -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,10 +38,10 @@ $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);
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
@keyframes slide-up {
|
||||
from {
|
||||
transform: translateY(20px);
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user