Skip to content

Commit

Permalink
Merge pull request #8 from matthis-k/main
Browse files Browse the repository at this point in the history
Add some support for more swaync features
  • Loading branch information
isabelroses authored Mar 26, 2024
2 parents 2b71960 + cba38e7 commit 5091a78
Showing 1 changed file with 96 additions and 20 deletions.
116 changes: 96 additions & 20 deletions src/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
transition: 200ms;
}

trough highlight {
background: $text;
}

scale trough {
margin: 0rem 1rem;
background-color: $surface0;
min-height: 8px;
min-width: 70px;
}

slider {
background-color: $blue;
}

.floating-notifications.background .notification-row .notification-background {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px $surface0;
border-radius: 12.6px;
Expand Down Expand Up @@ -90,7 +105,7 @@
padding: 14px;
}

.control-center .widget-title {
.control-center .widget-title>label {
color: $text;
font-size: 1.3em;
}
Expand Down Expand Up @@ -180,6 +195,10 @@
background-color: $maroon;
}

.close-button {
border-radius: 6.3px;
}

.control-center .notification-row .notification-background .close-button:hover {
background-color: $red;
color: $base;
Expand All @@ -202,16 +221,6 @@
color: $text;
}

progressbar,
progress,
trough {
border-radius: 12.6px;
}

progressbar {
box-shadow: inset 0 0 0 1px $surface1;
}

.notification.critical progress {
background-color: $red;
}
Expand All @@ -221,14 +230,6 @@ progressbar {
background-color: $blue;
}

trough {
background-color: $surface0;
}

.control-center trough {
background-color: $surface1;
}

.control-center-dnd {
margin-top: 5px;
border-radius: 8px;
Expand Down Expand Up @@ -267,4 +268,79 @@ trough {
background: $surface1;
border-radius: 8px;
border: 1px solid $overlay0;
}
}

.widget-mpris .widget-mpris-player {
background: $surface0;
padding: 7px;
}

.widget-mpris .widget-mpris-title {
font-size: 1.2rem;
}

.widget-mpris .widget-mpris-subtitle {
font-size: 0.8rem;
}

.widget-menubar>box>.menu-button-bar>button>label {
font-size: 3rem;
padding: 0.5rem 2rem;
}

.widget-menubar>box>.menu-button-bar>:last-child {
color: $red;
}

.power-buttons,
.powermode-buttons,
.screenshot-buttons {

}
.power-buttons button:hover,
.powermode-buttons button:hover,
.screenshot-buttons button:hover {
background: $surface0;
}

.control-center .widget-label>label {
color: $text;
font-size: 2rem;
}

.widget-buttons-grid {
padding-top: 1rem;
}

.widget-buttons-grid>flowbox>flowboxchild>button label {
font-size: 2.5rem;
}

.widget-volume {
padding-top: 1rem;
}

.widget-volume label {
font-size: 1.5rem;
color: $sapphire;
}

.widget-volume trough highlight {
background: $sapphire;
}

.widget-backlight trough highlight {
background: $yellow;
}
.widget-backlight scale {
margin-right: 1rem;
}

.widget-backlight label {
font-size: 1.5rem;
color: $yellow;
}

.widget-backlight .KB {
padding-bottom: 1rem;
}

0 comments on commit 5091a78

Please sign in to comment.