feat(ags): add wifi widget

This commit is contained in:
matt1432 2024-12-19 17:46:57 -05:00
parent 8f82b1885a
commit 6bc32a8d8e
11 changed files with 388 additions and 68 deletions
modules/ags/config/widgets/network

View file

@ -0,0 +1,32 @@
@use 'sass:color';
@use '../../style/colors';
.network.widget {
margin-top: 0;
* {
font-size: 20px;
}
row {
all: unset;
}
.toggle-button {
padding: 4px;
min-width: 30px;
min-height: 30px;
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
box-shadow: 2px 1px 2px colors.$accent-color;
margin: 4px 4px 4px 4px;
background-color: colors.$window_bg_color;
&.active {
box-shadow: 0 0 0 white;
margin: 6px 4px 2px 4px;
background-color: color.adjust(colors.$window_bg_color, $lightness: -3%);
}
}
}