1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-02-14 21:10:41 +01:00

fix theme switch visibility

This commit is contained in:
Matthias Kretschmann 2018-09-20 22:38:03 +02:00
parent 0ce5c05de5
commit 606cc2c42c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -17,10 +17,6 @@
width: .7rem;
height: .7rem;
}
:global(.dark) & {
fill: $brand-grey;
}
}
}
@ -54,24 +50,11 @@ $knob-space: 1px;
transition: transform .2s $easing;
transform: translate3d(0, 0, 0);
}
:global(.dark) & {
border-color: $brand-grey;
&::after {
background-color: $brand-grey;
}
}
}
.checkbox {
position: relative;
cursor: pointer;
opacity: .6;
:global(.dark) & {
opacity: .8;
}
[type='checkbox'],
.label {