rofi: change to onedark theme

This commit is contained in:
Guilherme Rugai Freire 2021-08-29 22:10:45 -03:00
parent ded2d0a18f
commit 8377e4c12d
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -7,125 +7,98 @@
# #
*/ */
/*Dracula theme based on the Purple official rofi theme*/ /*
* ROFI One Dark
*
* Based on OneDark.vim (https://github.com/joshdick/onedark.vim)
*
* Author: Benjamin Stauss
* User: me-benni
*
*/
* { * {
font: "Jetbrains Mono 12"; black: #000000;
foreground: #f8f8f2; red: #eb6e67;
background-color: #282a36; green: #95ee8f;
active-background: #6272a4; yellow: #f8c456;
urgent-background: #ff5555; blue: #6eaafb;
selected-background: @active-background; mangenta: #d886f3;
selected-urgent-background: @urgent-background; cyan: #6cdcf7;
selected-active-background: @active-background; emphasis: #50536b;
separatorcolor: @active-background; text: #dfdfdf;
bordercolor: @active-background; text-alt: #b2b2b2;
fg: #abb2bf;
bg: #282c34;
spacing: 0;
background-color: transparent;
font: "Knack Nerd Font 14";
text-color: @text;
} }
#window { mainbox {
background-color: @background; background-color: #282c34ee;
border: 1; padding: 14px;
border-radius: 6;
border-color: @bordercolor;
padding: 5;
} }
#mainbox {
border: 0; inputbar {
padding: 0; margin: 0px 0px 20px 0px;
children: [prompt, textbox-prompt-colon, entry, case-indicator];
} }
#message {
border: 1px dash 0px 0px ; prompt {
border-color: @separatorcolor; text-color: @blue;
padding: 1px ;
} }
#textbox {
text-color: @foreground; textbox-prompt-colon {
expand: false;
str: ":";
text-color: @text-alt;
} }
#listview {
fixed-height: 0; entry {
border: 2px dash 0px 0px ; margin: 0px 10px;
border-color: @bordercolor;
spacing: 2px ;
scrollbar: false;
padding: 2px 0px 0px ;
} }
#element {
border: 0; listview {
padding: 1px ; spacing: 5px;
dynamic: true;
scrollbar: false;
} }
#element.normal.normal {
background-color: @background; element {
text-color: @foreground; padding: 10px 5px 5px;
text-color: @text-alt;
highlight: bold #95ee8f; /* green */
border-radius: 3px;
} }
#element.normal.urgent {
background-color: @urgent-background; element selected {
text-color: @urgent-foreground; background-color: @emphasis;
text-color: @text;
} }
#element.normal.active {
background-color: @active-background; element urgent, element selected urgent {
text-color: @foreground; text-color: @red;
} }
#element.selected.normal {
background-color: @selected-background; element active, element selected active {
text-color: @foreground; text-color: @purple;
} }
#element.selected.urgent {
background-color: @selected-urgent-background; message {
text-color: @foreground; padding: 5px;
border-radius: 3px;
background-color: @emphasis;
border: 1px;
border-color: @cyan;
} }
#element.selected.active {
background-color: @selected-active-background; button selected {
text-color: @foreground; padding: 5px;
} border-radius: 3px;
#element.alternate.normal { background-color: @emphasis;
background-color: @background;
text-color: @foreground;
}
#element.alternate.urgent {
background-color: @urgent-background;
text-color: @foreground;
}
#element.alternate.active {
background-color: @active-background;
text-color: @foreground;
}
#scrollbar {
width: 2px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#button.selected {
background-color: @selected-background;
text-color: @foreground;
}
#inputbar {
spacing: 0;
text-color: @foreground;
padding: 1px ;
}
#case-indicator {
spacing: 0;
text-color: @foreground;
}
#entry {
spacing: 0;
text-color: @foreground;
}
#prompt {
spacing: 0;
text-color: @foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @foreground;
} }