feat(anyrun): new beautiful design for anyrun! ❤️

This commit is contained in:
retrozinndev
2024-11-10 12:56:03 -03:00
parent abac39edb8
commit eb977b568e
5 changed files with 31 additions and 19 deletions
-6
View File
@@ -1,6 +0,0 @@
@import "../../.cache/wal/colors-anyrun.css";
@define-color highlight @color1;
@define-color active shade(@highlight, .7);
@define-color text @foreground;
-1
View File
@@ -13,7 +13,6 @@ Config (
plugins: [ plugins: [
"libapplications.so", "libapplications.so",
"libsymbols.so",
"libshell.so" "libshell.so"
], ],
) )
+4
View File
@@ -0,0 +1,4 @@
Config (
prefix: ":",
shell: "bash"
)
+2 -1
View File
@@ -1,4 +1,5 @@
Config ( Config (
show_results_immediately: true,
allow_invalid: false, allow_invalid: false,
max_entries: None max_entries: Some(6)
) )
+25 -11
View File
@@ -1,10 +1,11 @@
@import "_colors.css"; @import "../../.cache/wal/colors-anyrun.css";
* { * {
border: none; border: none;
box-shadow: none; box-shadow: none;
outline: none; outline: none;
color: @foreground;
} }
*:hover { *:hover {
@@ -15,15 +16,23 @@ window {
background: transparent; background: transparent;
} }
box#main {
background: @background;
border-radius: 16px;
box-shadow: 0 16px 22px 2px black;
padding: 0;
border: .5px solid @color1;
}
entry { entry {
padding: 6px; padding: 6px;
background: @background; background: @background;
border-radius: 16px 16px 0 0; border-radius: 16px;
border: 2px solid transparent; margin: 8px;
} }
entry:focus, entry:active { entry:focus, entry:active {
border: 2px solid @color2; box-shadow: inset 0 0 0 2px @color2;
} }
entry:hover { entry:hover {
@@ -34,25 +43,30 @@ list {
border-bottom-right-radius: 16px; border-bottom-right-radius: 16px;
border-bottom-left-radius: 16px; border-bottom-left-radius: 16px;
background: @background; background: @background;
padding: 5px;
} }
list > #match { list > #match {
font-weight: 600; font-weight: 600;
border-radius: 8px; border-radius: 14px;
padding: 6px; padding: 7px;
margin: 0 6px;
color: @foreground;
} }
list > #match:hover { list > #match:hover {
transition: 120ms linear; transition: 120ms linear;
background: shade(@background, .8); background: shade(@color2, .8);
} }
list > #match:selected, list > #match:selected,
list > #match:active { list > #match:active {
background: @active; background: @color1;
} }
box#main { list > #match {
background: transparent; margin-bottom: 1px;
}
list > #match:last-child {
margin-bottom: 6px;
} }