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