.test-color() {
    &:is(html.light *) {
        color: black;
    }
    &:is(html.dark *) {
        color: white;
    }
}
.test-class {
    .test-button {
        .test-mixin();
        .test-color();
    }
}