Split scss vars for themes (#802)

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2020-11-28 22:08:18 +01:00 committed by GitHub
parent a2b83e0e59
commit 74fd6d0630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 137 additions and 131 deletions

View file

@ -11,26 +11,26 @@
}
.btn {
svg g {
@import "../../../../style/light.scss";
@import "../../../../style/variables.light";
fill: $secondary;
}
&.active, &:hover {
svg g {
@import "../../../../style/light.scss";
@import "../../../../style/variables.light";
fill: $light;
}
}
body.dark & {
svg g {
@import "../../../../style/dark.scss";
@import "../../../../style/variables.dark";
fill: $secondary;
}
&.active, &:hover {
svg g {
@import "../../../../style/dark.scss";
@import "../../../../style/variables.dark";
fill: $light;
}
}