Skip to content

Instantly share code, notes, and snippets.

@taylor85345
Created November 25, 2022 02:54
Show Gist options
  • Save taylor85345/71d616a5a1c7f5cb0eb6200c1c84d0bf to your computer and use it in GitHub Desktop.
Save taylor85345/71d616a5a1c7f5cb0eb6200c1c84d0bf to your computer and use it in GitHub Desktop.
Rofi Theme
/**
* rofi -dump-theme output.
* Rofi version: 1.7.5+wayland1-dev
**/
* {
alternate-urgent-background: var(lightbg);
alternate-active-foreground: var(blue);
selected-active-background: var(blue);
selected-urgent-foreground: var(background);
background-black: Black/67%;
background-white: rgba ( 242, 242, 242, 7 % );
urgent: rgba ( 233, 30, 99, 40 % );
transparent: transparent;
normal-foreground: var(foreground);
foreground-active: rgba ( 242, 242, 242, 93 % );
background-active: rgba ( 242, 242, 242, 19 % );
background: rgba ( 253, 246, 227, 100 % );
alternate-normal-foreground: var(foreground);
urgent-foreground: var(red);
active-background: var(background);
selected-normal-background: var(lightfg);
blue: rgba ( 38, 139, 210, 100 % );
selected-urgent-background: var(red);
selected-active-foreground: var(background);
separatorcolor: var(foreground);
lightfg: rgba ( 88, 104, 117, 100 % );
alternate-active-background: var(lightbg);
border: transparent;
spacing: 2;
urgent-selected: rgba ( 233, 30, 99, 47 % );
alternate-urgent-foreground: var(red);
foreground-selected: rgba ( 242, 242, 242, 93 % );
lightbg: rgba ( 238, 232, 213, 100 % );
red: rgba ( 220, 50, 47, 100 % );
background-color: transparent;
normal-background: var(background);
border-color: var(foreground);
foreground: rgba ( 242, 242, 242, 93 % );
background-selected: rgba ( 242, 242, 242, 27 % );
alternate-normal-background: var(lightbg);
urgent-background: var(background);
selected-normal-foreground: var(lightbg);
active-foreground: var(blue);
}
element {
cursor: pointer;
text-color: var(foreground);
padding: 10px 24px ;
orientation: horizontal;
background-color: var(transparent);
margin: 0px 12px ;
border-color: var(background-white);
border: 0;
spacing: 24px ;
border-radius: 6px ;
}
element normal {
background-color: var(transparent);
text-color: var(foreground);
}
element normal.normal {
background-color: var(transparent);
text-color: var(foreground);
}
element normal.urgent {
background-color: var(urgent);
text-color: var(foreground);
border-radius: 9px ;
}
element normal.active {
background-color: var(background-active);
text-color: var(foreground);
}
element selected {
background-color: var(background-selected);
text-color: var(foreground);
}
element selected.normal {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
element selected.urgent {
background-color: var(urgent-selected);
text-color: var(foreground);
}
element selected.active {
background-color: var(background-active);
text-color: var(foreground-selected);
}
element alternate.normal {
background-color: var(transparent);
text-color: var(foreground);
}
element alternate.urgent {
background-color: var(urgent);
text-color: var(foreground);
border-radius: 9px ;
}
element alternate.active {
background-color: var(background-active);
text-color: var(foreground);
}
element-text {
cursor: inherit;
text-color: var(foreground);
highlight: inherit;
background-color: var(transparent);
font: "Inter Regular 11";
vertical-align: 0.50;
horizontal-align: 0;
expand: true;
}
element-icon {
background-color: var(transparent);
size: 24px ;
cursor: inherit;
border-color: var(transparent);
text-color: var(foreground);
border: 0;
}
window {
text-color: var(foreground);
transparency: "real";
padding: 5;
width: 450px ;
orientation: vertical;
x-offset: 12;
location: northwest;
background-color: var(background-black);
border-radius: 16px ;
anchor: northwest;
border: transparent;
y-offset: 66;
height: 1005px ;
}
mainbox {
padding: 5px ;
width: 200px ;
expand: true;
background-color: var(transparent);
spacing: 12px ;
border: 0;
children: [ "inputbar","listview" ];
}
message {
padding: 1px ;
border-color: var(separatorcolor);
border: 2px dash 0px 0px ;
}
textbox {
text-color: var(foreground);
}
listview {
fixed-height: 0;
padding: 2px 0px 0px ;
scrollbar: true;
cycle: true;
background-color: var(transparent);
dynamic: true;
border-color: var(separatorcolor);
border: 2px dash 0px 0px ;
spacing: 0;
}
scrollbar {
handle-width: 0;
width: 4px ;
padding: 0;
margin: 0px 0px 5px ;
background-color: var(background-white);
border-radius: 9px ;
border: 0;
handle-color: var(normal-foreground);
}
sidebar {
border-color: var(separatorcolor);
border: 2px dash 0px 0px ;
}
button {
cursor: pointer;
text-color: var(foreground);
font: "FantasqueSansMono Nerd Font 16";
str: " ";
background-color: var(transparent);
action: "ok";
vertical-align: 0.50;
spacing: 0;
expand: false;
horizontal-align: 0.50;
}
button selected {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
num-filtered-rows {
expand: false;
text-color: Gray;
}
num-rows {
expand: false;
text-color: Gray;
}
textbox-num-sep {
expand: false;
str: "/";
text-color: Gray;
}
inputbar {
text-color: var(foreground);
padding: 14px ;
children: [ "entry-wrapper" ];
position: north;
background-color: var(background-active);
margin: 10px 10px 14px ;
border-radius: 9px ;
spacing: 0px ;
expand: false;
}
case-indicator {
spacing: 0;
text-color: var(normal-foreground);
}
entry {
text-color: var(foreground);
cursor: text;
blink: true;
vertical-align: 0.50;
background-color: 0;
font: "Inter Regular 12";
placeholder-color: var(foreground);
spacing: 0;
expand: true;
placeholder: "Search";
horizontal-align: 0;
}
prompt {
enabled: false;
spacing: 0;
text-color: var(normal-foreground);
}
textbox-prompt-colon {
margin: 0px 0.3000em 0.0000em 0.0000em ;
expand: false;
str: ":";
text-color: inherit;
}
entry-wrapper {
orientation: horizontal;
margin: 0px 12px ;
vertical-align: 0.50;
background-color: var(transparent);
spacing: 24px ;
children: [ "button","entry" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment