Merge pull request #199 from chakflying/patch-1

Fix: unify styling of theme switch btn
This commit is contained in:
Louis Lam 2021-08-10 12:50:50 +08:00 committed by GitHub
commit 01ac6d54be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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