Fix: unify styling of theme switch with UI

This commit is contained in:
Nelson Chan 2021-08-10 12:20:06 +08:00 committed by GitHub
parent d1d000bd74
commit 113899e278
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,10 +248,22 @@ export default {
padding: 20px;
}
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-check:hover + .btn-outline-primary {
color: #fff;
}
.dark {
.list-group-item {
background-color: $dark-bg2;
color: $dark-font-color;
}
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-check:hover + .btn-outline-primary {
color: #000;
}
}
</style>