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:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
+4
-4
@@ -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);
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user