feat(wlogout): four buttons layout, pywal colors

This commit is contained in:
João Dias
2024-09-04 22:37:12 -03:00
parent 302d0e5a97
commit 8a8cb6f5bc
2 changed files with 7 additions and 26 deletions
-10
View File
@@ -1,10 +0,0 @@
@define-color text #cdd6f4;
@define-color yellow #f9e2af;
@define-color background shade(@yellow, .2);
@define-color border shade(@yellow, .15);
@define-color background-alt shade(@yellow, .7);
@define-color hover shade(@yellow, .5);
@define-color active shade(@yellow, .55);
@define-color highlight shade(@yellow, .9);
+7 -16
View File
@@ -1,5 +1,6 @@
@import "_colors.css"; @import "../../.cache/wal/colors-wlogout.css";
* { * {
background-image: none; background-image: none;
@@ -14,24 +15,24 @@ window {
button { button {
border-radius: 16px; border-radius: 16px;
border: 1px solid @border; border: 1px solid @color2;
color: @text; color: @foreground;
background-color: @background; background-color: @background;
background-position: center; background-position: center;
background-size: 30%; background-size: 30%;
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;
transition: 150ms ease-in; transition: 150ms linear;
font-size: 1.25em; font-size: 1.25em;
font-weight: 700; font-weight: 700;
} }
button:focus, button:hover { button:focus, button:hover {
background-color: @hover; background-color: shade(@color1, .75);
} }
button:active { button:active {
background-color: @active; background-color: @color1;
} }
#logout { #logout {
@@ -49,13 +50,3 @@ button:active {
#reboot { #reboot {
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
} }
/*
#lock {
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
}
#hibernate {
background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
}
*/