Set keyframes-name-pattern to <dashed-ident>.

This commit is contained in:
Fredrik Jonsson 2025-09-22 12:04:56 +02:00
commit ed81c0c21f
2 changed files with 10 additions and 7 deletions

View file

@ -166,10 +166,10 @@ article {
}
.flash-item {
animation: flash 500ms ease-in-out 1;
animation: --flash 500ms ease-in-out 1;
}
@keyframes flash {
@keyframes --flash {
50% {
border-color: var(--color-warning);
background-color: var(--color-warning-bg);

View file

@ -32,10 +32,10 @@
}
&--highlight {
animation: 2s ease-in-out infinite outline-highlight;
animation: 2s ease-in-out infinite --outline-highlight;
}
@keyframes outline-highlight {
@keyframes --outline-highlight {
50% {
outline-width: .3rem;
}