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 {
@include dark-mode {
a.pagination-link,
.pagination-next,
.pagination-previous {
a.pagination-link,
.pagination-next,
.pagination-previous {
@include dark-mode {
background-color: $grey-darker;
border-color: $black;
color: $dark-mode-text;
@ -64,8 +64,10 @@ nav.pagination {
background-color: $primary;
}
}
}
.pagination-ellipsis {
.pagination-ellipsis {
@include dark-mode {
color: $dark-mode-text;
}
}