Adds rofi styling

This commit is contained in:
Michel Fedde 2025-10-02 14:07:00 +02:00
parent f3bcacf369
commit d03146f3a1
25 changed files with 206 additions and 1191 deletions

View file

@ -0,0 +1,81 @@
@import "../../library/entry.scss";
$border-gray: $border-color;
$border-primary: $color2;
$transparentBackground: rgba(128,128,128, 0.6);
* {
text-color: $foreground;
background-color: transparent;
}
window {
transparency: "real";
}
inputbar, listview {
border-radius: $border-radius;
border: 1px solid;
border-color: $border-color;
text-color: $foreground;
background-color: $background;
}
inputbar, listview, message, element {
margin: $input-padding;
}
inputbar {
children: [mode-switcher, entry]
}
prompt {
border: 0 1px 0 0;
border-color: $border-color;
}
entry {
border: 0 0 0 1px;
border-color: $border-color;
padding: $input-padding;
margin: 0 0 0 4px;
}
listview {
padding: 0.3em;
margin: 3px;
}
element {
margin: 0;
border-radius: $border-radius;
padding: $input-padding;
selected {
background-color: $transparentBackground;
}
}
element-icon {
padding: 0 0.5em 0 0;
size: 16;
}
mode-switcher {
enabled: true;
}
button {
border-radius: $border-radius;
expand: false;
margin: 4px;
padding: 4px 12px;
selected {
border: 1px solid;
border-color: $border-primary;
}
}

View file

@ -7,4 +7,5 @@ sass --no-source-map \
$APPLICATIONS_PATH/waybar/style.scss:$HOME/.config/waybar/style.css \
$APPLICATIONS_PATH/nwg-drawer/style.scss:$HOME/.config/nwg-drawer/drawer.css \
$APPLICATIONS_PATH/anyrun/entry.scss:$HOME/.config/anyrun/style.css \
$APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css
$APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css \
$APPLICATIONS_PATH/rofi/style.scss:$HOME/.config/rofi/style.rasi