Implemented battery, power profile and brightness all in one menu

This commit is contained in:
Jas-SinghFSU
2024-07-01 23:26:45 -07:00
parent d1facf15aa
commit 63b5302fe0
13 changed files with 301 additions and 21 deletions

12
scss/bar/battery.scss Normal file
View File

@@ -0,0 +1,12 @@
@import '../colors';
.bar {
.battery {
label {
color: $yellow;
}
image {
color: $yellow;
}
}
}

View File

@@ -24,6 +24,7 @@
@import "bar/notifications";
@import "bar/power";
@import "bar/bar";
@import "bar/battery";
//modules - menus
@import "menus/menu";
@@ -34,6 +35,7 @@
@import "menus/media";
@import "menus/notifications";
@import "menus/calendar";
@import "menus/energy";
//notifications
@import "notifications/popups";

47
scss/menus/energy.scss Normal file
View File

@@ -0,0 +1,47 @@
@import "../colors";
.menu-items-container.energy {
.menu-label {
color: $yellow;
}
.power-profile-item {
margin-bottom: 0.5em;
label {
margin-left: 1em;
}
image {
font-size: 1.3em;
min-width: 1em;
min-height: 1em;
color: $overlay1;
}
&:hover {
label {
color: $yellow;
}
}
&.active {
image {
color: $yellow;
}
}
}
.menu-active-slider.brightness {
trough {
highlight,
progress {
background: $yellow;
}
}
}
.brightness-container {
padding-bottom: 1em;
}
}