Skip to content

Instantly share code, notes, and snippets.

@EgZvor
Created February 9, 2018 10:23
Show Gist options
  • Save EgZvor/1b07049b2529e7f4374de3994c85e527 to your computer and use it in GitHub Desktop.
Save EgZvor/1b07049b2529e7f4374de3994c85e527 to your computer and use it in GitHub Desktop.
Dracula theme for rofi (put in ~/.config/rasi)
// Dracula colors
* {
background: rgba ( 40, 42, 54, 100 % );
current-line: rgba ( 68, 71, 90, 100 % );
selection: rgba ( 68, 71, 90, 100 % );
foreground: rgba ( 248, 248, 242, 100 % );
comment: rgba ( 98, 114, 164, 100 % );
cyan: rgba ( 139, 233, 253, 100 % );
green: rgba ( 80, 250, 123, 100 % );
orange: rgba ( 255, 184, 108, 100 % );
pink: rgba ( 255, 121, 198, 100 % );
purple: rgba ( 189, 147, 249, 100 % );
red: rgba ( 255, 85, 85, 100 % );
yellow: rgba ( 241, 250, 140, 100 % );
}
* {
selected-normal-background: @cyan;
normal-background: @background;
normal-foreground: @foreground;
alternate-normal-background: @normal-background;
alternate-normal-foreground: @foreground;
selected-normal-foreground: @normal-background;
urgent-foreground: @red;
urgent-background: @normal-background;
alternate-urgent-background: @urgent-background;
alternate-urgent-foreground: @urgent-foreground;
selected-active-foreground: @foreground;
selected-urgent-background: @normal-background;
alternate-active-background: @normal-background;
alternate-active-foreground: @selected-active-foreground;
alternate-active-background: @selected-active-background;
border-color: @selected-normal-background;
separatorcolor: @border-color;
spacing: 2;
background-color: @normal-background;
}
#window {
border: 3;
padding: 9;
}
#mainbox {
background-color: inherit;
border: 0;
padding: 0;
}
#textbox {
text-color: @foreground;
}
#element {
border: 0;
padding: 1px ;
}
#element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
#element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
#element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
#element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
#element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
#element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
#scrollbar {
border: 0;
}
#button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#inputbar {
spacing: 0;
text-color: @normal-foreground;
background-color: inherit;
padding: 1px ;
}
#case-indicator {
spacing: 0;
text-color: @normal-background;
}
#entry {
spacing: 0;
text-color: @normal-foreground;
}
#prompt {
spacing: 0;
text-color: @normal-foreground;
}
@AndreaSantinato
Copy link

One of the best Rofi Theme that i ever tried

@scottzach1
Copy link

Very lovely theme thank you :)

I made a little tweak if you were interested fork w/ colon

@EgZvor
Copy link
Author

EgZvor commented Apr 26, 2020

Thanks, I use solarized light now. By the way I also have this gist https://gist.github.com/EgZvor/ea6343988d0a1d66481daa79b7de6fbd, maybe it fixes the same thing @scottzach1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment