✨ feat(swaync): better colors, slider indicator, mpris blur
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color background alpha(shade(@yellow, .2), .98);
|
||||
@define-color background-alt shade(@yellow, .7);
|
||||
@define-color background-alt shade(@yellow, .3);
|
||||
@define-color hover shade(@yellow, .5);
|
||||
@define-color active shade(@yellow, .55);
|
||||
@define-color highlight shade(@yellow, .9);
|
||||
|
||||
+1
-2
@@ -92,9 +92,8 @@
|
||||
{
|
||||
"label": " Do Not Disturb",
|
||||
"type": "toggle",
|
||||
"active": false,
|
||||
"command": "swaync-client -d -sw",
|
||||
"update-command": "echo $(swaync-client -D)"
|
||||
"update-command": "sh -c '[[ $(swaync-client -D) == \"true\"]] && echo true || echo false'"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+36
-30
@@ -10,17 +10,33 @@
|
||||
transition: 160ms ease-in;
|
||||
}
|
||||
|
||||
trough highlight {
|
||||
background: @highlight;
|
||||
}
|
||||
|
||||
scale trough {
|
||||
margin: 0rem 1rem;
|
||||
background-color: #313244;
|
||||
background-color: @background-alt;
|
||||
min-height: 8px;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
trough {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
trough:hover {
|
||||
padding: 4px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
trough > *:active {
|
||||
background: @active;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
trough highlight {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
background: @highlight;
|
||||
}
|
||||
|
||||
slider {
|
||||
background: @highlight;
|
||||
border-radius: 50%;
|
||||
@@ -32,8 +48,8 @@ slider {
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244;
|
||||
border-radius: 16px;
|
||||
margin: 18px;
|
||||
background-color: #1e1e2e;
|
||||
color: #cdd6f4;
|
||||
background-color: @background;
|
||||
color: @text;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -55,7 +71,7 @@ slider {
|
||||
}
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .time {
|
||||
color: #a6adc8;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .body {
|
||||
@@ -67,9 +83,9 @@ slider {
|
||||
}
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action {
|
||||
border-radius: 16px;
|
||||
border-radius: 14px;
|
||||
color: #cdd6f4;
|
||||
background-color: #313244;
|
||||
background-color: @highlight;
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
margin: 7px;
|
||||
}
|
||||
@@ -266,10 +282,11 @@ slider {
|
||||
}
|
||||
|
||||
.widget-mpris .widget-mpris-player {
|
||||
padding: 16px;
|
||||
background: #45475a;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .4);
|
||||
padding: 24px;
|
||||
background-color: transparent;
|
||||
padding-bottom: 16px;
|
||||
border-radius: 16px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -310,12 +327,16 @@ slider {
|
||||
}
|
||||
|
||||
.widget-buttons-grid button {
|
||||
background: #313244;
|
||||
background: @background-alt;
|
||||
padding: 10px;
|
||||
border-radius: 16px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.widget-buttons-grid button .active {
|
||||
background: @active;
|
||||
}
|
||||
|
||||
.widget-buttons-grid button label {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
@@ -328,21 +349,6 @@ slider {
|
||||
background: @active;
|
||||
}
|
||||
|
||||
trough {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
trough highlight {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
background: @highlight;
|
||||
}
|
||||
|
||||
trough:hover {
|
||||
padding: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.widget-volume {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0.8rem;
|
||||
|
||||
Reference in New Issue
Block a user