Add a custom Rofi theme.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-18 20:57:29 +00:00
commit 58facda1ec

View file

@ -1,126 +1,79 @@
/* ================================================ // Clean and single Rofi theme by Tadgy.
// theme name : merah
// by : ipang-dwi - www.firstplato.com
// based on the Purple official rofi theme
// ================================================ */
* { * {
font: "Sans Mono Reguler 14"; font: "Sans Mono Reguler 16";
foreground: #f8f8f2; foreground: #aaaaaa;
background-color: #282a36; bright-foreground: #ffffff;
active-background: #b00000; background-color: #282828;
urgent-background: #ff5555;
selected-background: @active-background;
selected-urgent-background: @urgent-background;
selected-active-background: @active-background;
separatorcolor: @active-background;
bordercolor: @active-background;
} }
#window { #window {
background-color: @background; border: 2;
border: 1; border-radius: 10;
border-radius: 6; border-color: @bright-foreground;
border-color: @bordercolor; padding: 10;
padding: 5;
} }
#mainbox { #mainbox {
border: 0; border: 0;
padding: 0; padding: 0;
} }
#message { #message {
border: 1px dash 0px 0px ; border: 3px dash 0px 0px;
border-color: @separatorcolor; border-color: @foreground;
padding: 1px ; padding: 10px;
// for testing: text-color: @foregroundX;
} }
#textbox { #textbox {
text-color: @foreground; text-color: @foreground;
} }
#listview { #listview {
fixed-height: 0; fixed-height: 0;
border: 2px dash 0px 0px ; border: 3px dash 0px 0px;
border-color: @bordercolor; border-color: @foreground;
spacing: 2px ; spacing: 2px;
scrollbar: false; scrollbar: false;
padding: 2px 0px 0px ; padding: 10px 0px 0px;
} }
#element { #element {
border: 0; border: 0;
padding: 1px ; padding: 2px;
} }
#element.normal.normal {
background-color: @background; #element-text {
text-color: @foreground; text-color: @foreground;
}
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#element.normal.active {
background-color: @active-background;
text-color: @foreground;
} }
#element.selected.normal { #element.selected.normal {
background-color: @selected-background; background-color: @bright-foreground;
text-color: @foreground;
}
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @foreground;
}
#element.selected.active {
background-color: @selected-active-background;
text-color: @foreground;
}
#element.alternate.normal {
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 { #inputbar {
spacing: 0; spacing: 2;
text-color: @foreground; text-color: @foreground;
padding: 1px ; padding: 0px;
}
#case-indicator {
spacing: 0;
text-color: @foreground;
} }
#entry { #entry {
spacing: 0; spacing: 0;
text-color: @foreground; text-color: @foreground;
} }
#prompt { #prompt {
spacing: 0; text-color: @foreground;
text-color: @foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
} }
#textbox-prompt-colon { #textbox-prompt-colon {
expand: false; expand: false;
str: ":"; str: ":";
margin: 0px 0.3em 0em 0em ; margin: 0px 0.5em 0em 0em ;
text-color: @foreground; text-color: @foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry ];
} }