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:
parent
0ce5c05de5
commit
606cc2c42c
@ -17,10 +17,6 @@
|
|||||||
width: .7rem;
|
width: .7rem;
|
||||||
height: .7rem;
|
height: .7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.dark) & {
|
|
||||||
fill: $brand-grey;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,24 +50,11 @@ $knob-space: 1px;
|
|||||||
transition: transform .2s $easing;
|
transition: transform .2s $easing;
|
||||||
transform: translate3d(0, 0, 0);
|
transform: translate3d(0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.dark) & {
|
|
||||||
border-color: $brand-grey;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
background-color: $brand-grey;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox {
|
.checkbox {
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: .6;
|
|
||||||
|
|
||||||
:global(.dark) & {
|
|
||||||
opacity: .8;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type='checkbox'],
|
[type='checkbox'],
|
||||||
.label {
|
.label {
|
||||||
|
Loading…
Reference in New Issue
Block a user