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%; height: 100%;
width: 100%; width: 100%;
background: var(--card-background); background: var(--card-background);
animation: fadeIn 0.3s ease-in; animation: fade-in 0.3s ease-in;
} }
// Visibility utilities // Visibility utilities
@@ -38,7 +38,7 @@
color: var(--p-green-400); color: var(--p-green-400);
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 600; font-weight: 600;
animation: fadeIn 0.3s ease-in; animation: fade-in 0.3s ease-in;
i { i {
font-size: 1rem; font-size: 1rem;
@@ -597,7 +597,7 @@
} }
// Animation // Animation
@keyframes fadeIn { @keyframes fade-in {
from { from {
opacity: 0; opacity: 0;
} }
@@ -161,10 +161,10 @@ $provider-colors: (
box-shadow: 0 2px 4px rgb(0 0 0 / 20%); box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
animation: slideIn 0.3s ease-out; animation: slide-in 0.3s ease-out;
} }
@keyframes slideIn { @keyframes slide-in {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-20px); transform: translateX(-20px);
@@ -176,7 +176,7 @@ $provider-colors: (
} }
} }
@keyframes slideInFromTop { @keyframes slide-in-from-top {
from { from {
opacity: 0; opacity: 0;
transform: translateY(-20px); transform: translateY(-20px);
@@ -553,7 +553,7 @@ $provider-colors: (
display: flex; display: flex;
flex-direction: row; flex-direction: row;
height: 200px; height: 200px;
animation: slideInFromTop 0.4s ease-out; animation: slide-in-from-top 0.4s ease-out;
&:hover { &:hover {
transform: translateY(-4px); transform: translateY(-4px);
@@ -5,7 +5,7 @@
padding: 0; padding: 0;
width: 100%; width: 100%;
min-height: 100%; min-height: 100%;
animation: fadeIn 0.3s ease-in; animation: fade-in 0.3s ease-in;
@media (width >= 768px) { @media (width >= 768px) {
padding: 0.5rem; padding: 0.5rem;
@@ -200,7 +200,7 @@
} }
} }
@keyframes fadeIn { @keyframes fade-in {
from { from {
opacity: 0; opacity: 0;
} }
@@ -562,10 +562,10 @@ $border-color: rgb(255 255 255 / 10%);
z-index: 100; z-index: 100;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
animation: slideIn 0.25s ease-out; animation: slide-in 0.25s ease-out;
box-shadow: -10px 0 40px rgb(0 0 0 / 50%); box-shadow: -10px 0 40px rgb(0 0 0 / 50%);
@keyframes slideIn { @keyframes slide-in {
from { from {
transform: translateX(100%); transform: translateX(100%);
opacity: 0.5; opacity: 0.5;
@@ -153,11 +153,11 @@
z-index: 2; z-index: 2;
&.fade-in { &.fade-in {
animation: fadeIn 0.15s ease-out forwards; animation: fade-in 0.15s ease-out forwards;
} }
} }
@keyframes fadeIn { @keyframes fade-in {
from { from {
opacity: 0.7; opacity: 0.7;
} }
@@ -19,10 +19,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -38,10 +38,10 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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 { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -17,10 +17,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -36,10 +36,10 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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 { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -17,11 +17,11 @@ $transition-normal: 200ms ease;
inset: 0; inset: 0;
z-index: 12000; z-index: 12000;
background: rgb(0 0 0 / 30%); background: rgb(0 0 0 / 30%);
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
cursor: pointer; cursor: pointer;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -35,12 +35,12 @@ $transition-normal: 200ms ease;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 12px 40px rgb(0 0 0 / 50%); box-shadow: 0 12px 40px rgb(0 0 0 / 50%);
animation: slideDown 200ms cubic-bezier(0.4, 0, 0.2, 1); animation: slide-down 200ms cubic-bezier(0.4, 0, 0.2, 1);
overflow: visible; overflow: visible;
cursor: default; cursor: default;
} }
@keyframes slideDown { @keyframes slide-down {
from { from {
transform: translateY(-8px); transform: translateY(-8px);
opacity: 0; opacity: 0;
@@ -18,10 +18,10 @@ $transition-normal: 200ms ease;
background: rgb(0 0 0 / 40%); background: rgb(0 0 0 / 40%);
backdrop-filter: blur(2px); backdrop-filter: blur(2px);
z-index: 12000; z-index: 12000;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
&.closing { &.closing {
animation: fadeOut $transition-normal forwards; animation: fade-out $transition-normal forwards;
} }
} }
@@ -37,11 +37,11 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
color: $text-primary; color: $text-primary;
box-shadow: 4px 0 24px rgb(0 0 0 / 30%); box-shadow: 4px 0 24px rgb(0 0 0 / 30%);
animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1); animation: slide-in 250ms cubic-bezier(0.4, 0, 0.2, 1);
z-index: 12001; z-index: 12001;
&.closing { &.closing {
animation: slideOut 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards; animation: slide-out 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
} }
} }
@@ -520,22 +520,22 @@ $transition-normal: 200ms ease;
} }
// Animations // Animations
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@keyframes fadeOut { @keyframes fade-out {
from { opacity: 1; } from { opacity: 1; }
to { opacity: 0; } to { opacity: 0; }
} }
@keyframes slideIn { @keyframes slide-in {
from { transform: translateX(-100%); } from { transform: translateX(-100%); }
to { transform: translateX(0); } to { transform: translateX(0); }
} }
@keyframes slideOut { @keyframes slide-out {
from { transform: translateX(0); } from { transform: translateX(0); }
to { transform: translateX(-100%); } to { transform: translateX(-100%); }
} }
@@ -19,10 +19,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -38,7 +38,7 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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) { @media (width <= 768px) {
width: 95%; width: 95%;
@@ -47,7 +47,7 @@ $transition-normal: 200ms ease;
} }
} }
@keyframes slideUp { @keyframes slide-up {
from { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -198,7 +198,7 @@ $transition-normal: 200ms ease;
} }
.metadata-group { .metadata-group {
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
&:not(:last-child) { &:not(:last-child) {
padding-bottom: 16px; padding-bottom: 16px;
@@ -19,10 +19,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -38,10 +38,10 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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 { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -18,10 +18,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -36,12 +36,12 @@ $transition-normal: 200ms ease;
max-height: 85vh; max-height: 85vh;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@keyframes slideUp { @keyframes slide-up {
from { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -158,7 +158,7 @@ $transition-normal: 200ms ease;
} }
.tab-content { .tab-content {
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
.section-header { .section-header {
@@ -17,10 +17,10 @@ $transition-normal: 200ms ease;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -36,10 +36,10 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 60px rgb(0 0 0 / 50%); 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 { from {
transform: translateY(20px); transform: translateY(20px);
opacity: 0; opacity: 0;
@@ -185,7 +185,7 @@ $transition-normal: 200ms ease;
box-shadow: 0 8px 32px rgb(0 0 0 / 50%); box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
z-index: 1001; z-index: 1001;
min-width: 380px; min-width: 380px;
animation: popoverSlideIn 200ms cubic-bezier(0.4, 0, 0.2, 1); animation: popover-slide-in 200ms cubic-bezier(0.4, 0, 0.2, 1);
color: $text-primary; color: $text-primary;
.popover-content { .popover-content {
@@ -408,7 +408,7 @@ $transition-normal: 200ms ease;
} }
} }
@keyframes popoverSlideIn { @keyframes popover-slide-in {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-50%) translateY(8px); transform: translateX(-50%) translateY(8px);
@@ -432,7 +432,7 @@ $transition-normal: 200ms ease;
right: 16px; right: 16px;
transform: none; transform: none;
@keyframes popoverSlideIn { @keyframes popover-slide-in {
from { from {
opacity: 0; opacity: 0;
transform: translateY(8px); transform: translateY(8px);
@@ -15,11 +15,11 @@ $transition-normal: 200ms ease;
inset: 0; inset: 0;
z-index: 12000; z-index: 12000;
background: rgb(0 0 0 / 30%); background: rgb(0 0 0 / 30%);
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
cursor: pointer; cursor: pointer;
} }
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@@ -33,12 +33,12 @@ $transition-normal: 200ms ease;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 12px 40px rgb(0 0 0 / 50%); box-shadow: 0 12px 40px rgb(0 0 0 / 50%);
animation: slideDown 200ms cubic-bezier(0.4, 0, 0.2, 1); animation: slide-down 200ms cubic-bezier(0.4, 0, 0.2, 1);
overflow: visible; overflow: visible;
cursor: default; cursor: default;
} }
@keyframes slideDown { @keyframes slide-down {
from { from {
transform: translateY(-8px); transform: translateY(-8px);
opacity: 0; opacity: 0;
@@ -18,10 +18,10 @@ $transition-normal: 200ms ease;
background: rgb(0 0 0 / 40%); background: rgb(0 0 0 / 40%);
backdrop-filter: blur(1px); backdrop-filter: blur(1px);
z-index: 12000; z-index: 12000;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
&.closing { &.closing {
animation: fadeOut $transition-normal forwards; animation: fade-out $transition-normal forwards;
} }
} }
@@ -37,11 +37,11 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
color: $text-primary; color: $text-primary;
box-shadow: -4px 0 24px rgb(0 0 0 / 30%); box-shadow: -4px 0 24px rgb(0 0 0 / 30%);
animation: slideInRight 250ms cubic-bezier(0.4, 0, 0.2, 1); animation: slide-in-right 250ms cubic-bezier(0.4, 0, 0.2, 1);
z-index: 12001; z-index: 12001;
&.closing { &.closing {
animation: slideOutRight 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards; animation: slide-out-right 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
} }
} }
@@ -529,22 +529,22 @@ $transition-normal: 200ms ease;
} }
// Animations // Animations
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@keyframes fadeOut { @keyframes fade-out {
from { opacity: 1; } from { opacity: 1; }
to { opacity: 0; } to { opacity: 0; }
} }
@keyframes slideInRight { @keyframes slide-in-right {
from { transform: translateX(100%); } from { transform: translateX(100%); }
to { transform: translateX(0); } to { transform: translateX(0); }
} }
@keyframes slideOutRight { @keyframes slide-out-right {
from { transform: translateX(0); } from { transform: translateX(0); }
to { transform: translateX(100%); } to { transform: translateX(100%); }
} }
@@ -18,10 +18,10 @@ $transition-normal: 200ms ease;
background: rgb(0 0 0 / 40%); background: rgb(0 0 0 / 40%);
backdrop-filter: blur(2px); backdrop-filter: blur(2px);
z-index: 12000; z-index: 12000;
animation: fadeIn $transition-normal; animation: fade-in $transition-normal;
&.closing { &.closing {
animation: fadeOut $transition-normal forwards; animation: fade-out $transition-normal forwards;
} }
} }
@@ -37,11 +37,11 @@ $transition-normal: 200ms ease;
flex-direction: column; flex-direction: column;
color: $text-primary; color: $text-primary;
box-shadow: 4px 0 24px rgb(0 0 0 / 30%); box-shadow: 4px 0 24px rgb(0 0 0 / 30%);
animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1); animation: slide-in 250ms cubic-bezier(0.4, 0, 0.2, 1);
z-index: 12001; z-index: 12001;
&.closing { &.closing {
animation: slideOut 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards; animation: slide-out 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
} }
} }
@@ -531,22 +531,22 @@ $transition-normal: 200ms ease;
} }
// Animations // Animations
@keyframes fadeIn { @keyframes fade-in {
from { opacity: 0; } from { opacity: 0; }
to { opacity: 1; } to { opacity: 1; }
} }
@keyframes fadeOut { @keyframes fade-out {
from { opacity: 1; } from { opacity: 1; }
to { opacity: 0; } to { opacity: 0; }
} }
@keyframes slideIn { @keyframes slide-in {
from { transform: translateX(-100%); } from { transform: translateX(-100%); }
to { transform: translateX(0); } to { transform: translateX(0); }
} }
@keyframes slideOut { @keyframes slide-out {
from { transform: translateX(0); } from { transform: translateX(0); }
to { transform: translateX(-100%); } to { transform: translateX(-100%); }
} }
@@ -17,14 +17,14 @@
box-shadow: 0 4px 16px rgb(0 0 0 / 30%), 0 0 1px rgb(0 0 0 / 20%); box-shadow: 0 4px 16px rgb(0 0 0 / 30%), 0 0 1px rgb(0 0 0 / 20%);
z-index: 99999; z-index: 99999;
transform: translateX(-50%); transform: translateX(-50%);
animation: popupFadeIn 0.15s ease-out; animation: popup-fade-in 0.15s ease-out;
&.show-below { &.show-below {
animation: popupFadeInBelow 0.15s ease-out; animation: popup-fade-in-below 0.15s ease-out;
} }
} }
@keyframes popupFadeIn { @keyframes popup-fade-in {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-50%) translateY(4px); transform: translateX(-50%) translateY(4px);
@@ -36,7 +36,7 @@
} }
} }
@keyframes popupFadeInBelow { @keyframes popup-fade-in-below {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-50%) translateY(-4px); transform: translateX(-50%) translateY(-4px);
@@ -121,16 +121,16 @@
&.above { &.above {
bottom: calc(100% + 8px); bottom: calc(100% + 8px);
animation: slideUp 0.15s ease-out; animation: slide-up 0.15s ease-out;
} }
&.below { &.below {
top: calc(100% + 8px); top: calc(100% + 8px);
animation: slideDown 0.15s ease-out; animation: slide-down 0.15s ease-out;
} }
} }
@keyframes slideUp { @keyframes slide-up {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-50%) translateY(6px); transform: translateX(-50%) translateY(6px);
@@ -142,7 +142,7 @@
} }
} }
@keyframes slideDown { @keyframes slide-down {
from { from {
opacity: 0; opacity: 0;
transform: translateX(-50%) translateY(-6px); transform: translateX(-50%) translateY(-6px);
@@ -311,7 +311,7 @@
} }
&.fade-in { &.fade-in {
animation: fadeInUp 0.4s ease-out; animation: fade-in-up 0.4s ease-out;
} }
&::-webkit-scrollbar { &::-webkit-scrollbar {
@@ -337,7 +337,7 @@
scrollbar-color: var(--border-color) var(--overlay-background); scrollbar-color: var(--border-color) var(--overlay-background);
} }
@keyframes fadeInUp { @keyframes fade-in-up {
from { from {
opacity: 0; opacity: 0;
transform: translateY(-10px); transform: translateY(-10px);
@@ -360,7 +360,7 @@
transition: all 0.3s ease; transition: all 0.3s ease;
cursor: pointer; cursor: pointer;
opacity: 0; opacity: 0;
animation: fadeInItem 0.3s ease-out forwards; animation: fade-in-item 0.3s ease-out forwards;
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
@@ -496,7 +496,7 @@
} }
} }
@keyframes fadeInItem { @keyframes fade-in-item {
from { from {
opacity: 0; opacity: 0;
transform: translateY(-10px); transform: translateY(-10px);
@@ -30,7 +30,7 @@
max-width: $max-width; max-width: $max-width;
position: relative; position: relative;
z-index: 1; z-index: 1;
animation: slideUp 0.6s ease-out; animation: slide-up 0.6s ease-out;
@media (width <= 640px) { @media (width <= 640px) {
width: 95%; width: 95%;
@@ -172,7 +172,7 @@
color: #ef4444; color: #ef4444;
font-size: 0.8rem; font-size: 0.8rem;
margin-top: -0.25rem; margin-top: -0.25rem;
animation: fadeIn 0.3s ease-out; animation: fade-in 0.3s ease-out;
i { i {
font-size: 0.75rem; font-size: 0.75rem;
@@ -207,18 +207,18 @@
} }
@mixin message-container { @mixin message-container {
animation: fadeIn 0.3s ease-out; animation: fade-in 0.3s ease-out;
} }
@mixin error-message { @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 { @mixin success-message {
animation: successPulse 0.5s ease-out; animation: success-pulse 0.5s ease-out;
} }
@keyframes slideUp { @keyframes slide-up {
from { from {
opacity: 0; opacity: 0;
transform: translateY(30px); transform: translateY(30px);
@@ -230,7 +230,7 @@
} }
} }
@keyframes fadeIn { @keyframes fade-in {
from { from {
opacity: 0; opacity: 0;
} }
@@ -278,7 +278,7 @@
} }
} }
@keyframes successPulse { @keyframes success-pulse {
0% { 0% {
opacity: 0; opacity: 0;
transform: scale(0.95); transform: scale(0.95);
-1
View File
@@ -2,7 +2,6 @@ module.exports = {
extends: ["stylelint-config-standard-scss"], extends: ["stylelint-config-standard-scss"],
ignoreFiles: ["dist/**", "node_modules/**"], ignoreFiles: ["dist/**", "node_modules/**"],
rules: { rules: {
"keyframes-name-pattern": null,
"no-descending-specificity": null, "no-descending-specificity": null,
"no-invalid-position-declaration": null, "no-invalid-position-declaration": null,
"property-no-vendor-prefix": null, "property-no-vendor-prefix": null,