mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 22:35:50 -04:00
Split scss vars for themes (#802)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
a2b83e0e59
commit
74fd6d0630
6 changed files with 137 additions and 131 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue