💄 change colors to combine with wallpaper

This commit is contained in:
João Dias
2024-08-04 11:18:09 -03:00
parent 2066366568
commit 4d41dffbdb
4 changed files with 67 additions and 32 deletions
+32
View File
@@ -0,0 +1,32 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
@define-color background alpha(shade(@yellow, .2), .98);
@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);
+11 -5
View File
@@ -53,7 +53,6 @@
"backlight", "backlight",
"buttons-grid", "buttons-grid",
"mpris", "mpris",
"dnd",
"inhibitors", "inhibitors",
"notifications" "notifications"
], ],
@@ -74,8 +73,8 @@
}, },
"mpris": { "mpris": {
"image-size": 96, "image-size": 96,
"image-radius": 12, "image-radius": 16,
"blur": true "blur": true
}, },
"volume": { "volume": {
"label": "" "label": ""
@@ -86,11 +85,18 @@
"buttons-grid": { "buttons-grid": {
"actions": [ "actions": [
{ {
"label": " Power Menu", "label": " Power Menu",
"type": "normal", "type": "normal",
"command": "wlogout" "command": "wlogout"
},
{
"label": "󰒲 Do Not Disturb",
"type": "toggle",
"active": false,
"command": "swaync-client -d -sw",
"update-command": "echo $(swaync-client -D)"
} }
] ]
} }
} }
} }
+1 -1
View File
@@ -407,7 +407,7 @@
"default": 12 "default": 12
}, },
"blur": { "blur": {
"type": "bool", "type": "boolean",
"description": "Apply the artwork as the MPRIS background and blur it", "description": "Apply the artwork as the MPRIS background and blur it",
"default": true "default": true
} }
+23 -26
View File
@@ -1,21 +1,17 @@
@import "_colors.css";
@define-color background shade(#89b4fa, .2); /* All */
@define-color text #cdd6f4;
@define-color hover shade(#74c7ec, .1);
@define-color background-alt #b4befe;
@define-color slider #89b4fa;
* { * {
all: unset; all: unset;
font-size: 14px; font-size: 14px;
font-family: "0xProto Nerd Font Regular"; font-family: "0xProto Nerd Font Regular", otf-font-awesome, Cantarell, sans-serif;
transition: 200ms; transition: 160ms ease-in;
} }
trough highlight { trough highlight {
background: #cdd6f4; background: @highlight;
} }
scale trough { scale trough {
@@ -26,7 +22,7 @@ scale trough {
} }
slider { slider {
background-color: #89b4fa; background: @highlight;
border-radius: 50%; border-radius: 50%;
} }
@@ -114,7 +110,7 @@ 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: 12.6px; border-radius: 12.6px;
margin: 18px; margin: 18px;
background-color: #1e1e2e; background: @background;
color: #cdd6f4; color: #cdd6f4;
padding: 1.5rem; padding: 1.5rem;
} }
@@ -253,19 +249,16 @@ slider {
.widget-dnd > switch { .widget-dnd > switch {
font-size: initial; font-size: initial;
border-radius: 16px; border-radius: 16px;
background: #313244; background: @background;
border: 1px solid #45475a; border: 1px solid #45475a;
box-shadow: none; box-shadow: none;
} }
.widget-dnd > switch:checked {
background: #313244;
}
.widget-dnd > switch slider { .widget-dnd > switch slider {
background: #45475a; background: @highlight;
border-radius: 16px; border-radius: 16px;
border: 1px solid #6c7086; border: 1px solid #6c7086;
} }
.widget-mpris { .widget-mpris {
@@ -313,22 +306,26 @@ slider {
.widget-buttons-grid { .widget-buttons-grid {
padding-top: 2px; padding-top: 2px;
margin-left: 150px; margin-left: 75px;
}
.widget-buttons-grid > flowbox > flowboxchild > button label {
font-size: 1rem;
} }
.widget-buttons-grid button { .widget-buttons-grid button {
padding-right: 2px;
background: #313244; background: #313244;
padding: 8px; padding: 10px;
border-radius: 16px; border-radius: 16px;
margin: 2px;
}
.widget-buttons-grid button label {
font-size: 0.95rem;
}
.widget-buttons-grid button:hover {
background: @hover;
} }
.widget-buttons-grid button:active { .widget-buttons-grid button:active {
background: blue; background: @active;
} }
trough { trough {
@@ -338,7 +335,7 @@ trough {
trough highlight { trough highlight {
padding: 5px; padding: 5px;
border-radius: 4px; border-radius: 4px;
background: @slider; background: @highlight;
} }
trough:hover { trough:hover {