Don't define classes immediately inside dark-mode mixin

This causes with the automatic transition animation.
This commit is contained in:
Jake Howard 2022-08-27 21:24:49 +01:00
parent 245d2ee146
commit fea5a1f58b
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -48,10 +48,10 @@
} }
nav.pagination { nav.pagination {
@include dark-mode { a.pagination-link,
a.pagination-link, .pagination-next,
.pagination-next, .pagination-previous {
.pagination-previous { @include dark-mode {
background-color: $grey-darker; background-color: $grey-darker;
border-color: $black; border-color: $black;
color: $dark-mode-text; color: $dark-mode-text;
@ -64,8 +64,10 @@ nav.pagination {
background-color: $primary; background-color: $primary;
} }
} }
}
.pagination-ellipsis { .pagination-ellipsis {
@include dark-mode {
color: $dark-mode-text; color: $dark-mode-text;
} }
} }