mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-07 14:12:31 +00:00
e412a2c537
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com> Co-authored-by: 0xMRTT <0xMRTT@evta.fr> Co-authored-by: 0xMRTT <0xMRTT@proton.me> Co-authored-by: daudix-UFO <ddaudix@gmail.com>
16 lines
547 B
Text
16 lines
547 B
Text
/* Switches */
|
|
|
|
// these are equal to the size of the SVG assets
|
|
$switch_height: 26px;
|
|
$switch_width: 48px;
|
|
|
|
.toggle-switch {
|
|
color: $fg_color;
|
|
height: $switch_height;
|
|
width: $switch_width;
|
|
background-size: contain;
|
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/toggle-off-light.svg"), url("resource:///org/gnome/shell/theme/toggle-off.svg"));
|
|
&:checked {
|
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/toggle-on-light.svg"), url("assets/toggle-on.svg"));
|
|
}
|
|
}
|