rofi-themes/Official Themes/gruvbox-light.rasi

180 lines
4.5 KiB
Text
Raw Normal View History

2018-02-12 13:15:11 +01:00
/* ==========================================================================
Rofi color theme
Based on the Gruvbox color scheme for Vim by morhetz
https://github.com/morhetz/gruvbox
File: gruvbox-light.rasi
Desc: Gruvbox light color theme for rofi
Author: bardisty <b@bah.im>
Source: https://github.com/bardisty/gruvbox-rofi
Modified: Mon Feb 12 2018 04:09:29 PST -0800
========================================================================== */
2017-10-19 16:28:30 +02:00
* {
2018-02-12 13:15:11 +01:00
/* Theme settings */
highlight: bold italic;
scrollbar: true;
/* Gruvbox light colors */
gruvbox-light-bg0: #fbf1c7;
gruvbox-light-bg0-soft: #f2e5bc;
gruvbox-light-bg2: #d5c4a1;
gruvbox-light-fg0: #282828;
gruvbox-light-fg1: #3c3836;
gruvbox-light-gray: #7c6f64;
gruvbox-light-red-dark: #9d0006;
grubbox-light-red-light: #cc241d;
gruvbox-light-yellow-dark: #b57614;
gruvbox-light-yellow-light: #d79921;
/* Theme colors */
background: @gruvbox-light-bg0;
background-color: @background;
foreground: @gruvbox-light-fg1;
border-color: @gruvbox-light-gray;
separatorcolor: @border-color;
scrollbar-handle: @border-color;
normal-background: @background;
2017-10-19 16:28:30 +02:00
normal-foreground: @foreground;
2018-02-12 13:15:11 +01:00
alternate-normal-background: @gruvbox-light-bg0-soft;
2017-10-19 16:28:30 +02:00
alternate-normal-foreground: @foreground;
2018-02-12 13:15:11 +01:00
selected-normal-background: @gruvbox-light-bg2;
selected-normal-foreground: @gruvbox-light-fg0;
active-background: @gruvbox-light-yellow-dark;
active-foreground: @background;
alternate-active-background: @active-background;
2017-10-19 16:28:30 +02:00
alternate-active-foreground: @active-foreground;
2018-02-12 13:15:11 +01:00
selected-active-background: @gruvbox-light-yellow-light;
selected-active-foreground: @active-foreground;
urgent-background: @gruvbox-light-red-dark;
urgent-foreground: @background;
alternate-urgent-background: @urgent-background;
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: @gruvbox-light-red-light;
selected-urgent-foreground: @urgent-foreground;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
window {
2017-10-19 16:28:30 +02:00
background-color: @background;
2018-02-12 13:15:11 +01:00
border: 2;
padding: 2;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
mainbox {
2017-10-19 16:28:30 +02:00
border: 0;
padding: 0;
}
2018-02-12 13:15:11 +01:00
message {
border: 2px 0 0;
2017-10-19 16:28:30 +02:00
border-color: @separatorcolor;
2018-02-12 13:15:11 +01:00
padding: 1px;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
textbox {
highlight: @highlight;
2017-10-19 16:28:30 +02:00
text-color: @foreground;
}
2018-02-12 13:15:11 +01:00
listview {
border: 2px solid 0 0;
padding: 2px 0 0;
2017-10-19 16:28:30 +02:00
border-color: @separatorcolor;
2018-02-12 13:15:11 +01:00
spacing: 2px;
scrollbar: @scrollbar;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
element {
2017-10-19 16:28:30 +02:00
border: 0;
2018-02-12 13:15:11 +01:00
padding: 2px;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
element.normal.normal {
2017-10-19 16:28:30 +02:00
background-color: @normal-background;
text-color: @normal-foreground;
}
2018-02-12 13:15:11 +01:00
element.normal.urgent {
2017-10-19 16:28:30 +02:00
background-color: @urgent-background;
text-color: @urgent-foreground;
}
2018-02-12 13:15:11 +01:00
element.normal.active {
2017-10-19 16:28:30 +02:00
background-color: @active-background;
text-color: @active-foreground;
}
2018-02-12 13:15:11 +01:00
element.selected.normal {
2017-10-19 16:28:30 +02:00
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
2018-02-12 13:15:11 +01:00
element.selected.urgent {
2017-10-19 16:28:30 +02:00
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
2018-02-12 13:15:11 +01:00
element.selected.active {
2017-10-19 16:28:30 +02:00
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
2018-02-12 13:15:11 +01:00
element.alternate.normal {
2017-10-19 16:28:30 +02:00
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
2018-02-12 13:15:11 +01:00
element.alternate.urgent {
2017-10-19 16:28:30 +02:00
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
2018-02-12 13:15:11 +01:00
element.alternate.active {
2017-10-19 16:28:30 +02:00
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
2018-02-12 13:15:11 +01:00
scrollbar {
width: 4px;
2017-10-19 16:28:30 +02:00
border: 0;
2018-02-12 13:15:11 +01:00
handle-color: @scrollbar-handle;
handle-width: 8px;
2017-10-19 16:28:30 +02:00
padding: 0;
}
2018-02-12 13:15:11 +01:00
sidebar {
border: 2px 0 0;
2017-10-19 16:28:30 +02:00
border-color: @separatorcolor;
}
2018-02-12 13:15:11 +01:00
inputbar {
2017-10-19 16:28:30 +02:00
spacing: 0;
text-color: @normal-foreground;
2018-02-12 13:15:11 +01:00
padding: 2px;
children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
}
case-indicator,
entry,
prompt,
button {
2017-10-19 16:28:30 +02:00
spacing: 0;
text-color: @normal-foreground;
}
2018-02-12 13:15:11 +01:00
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
2017-10-19 16:28:30 +02:00
}
2018-02-12 13:15:11 +01:00
textbox-prompt-sep {
expand: false;
str: ":";
2017-10-19 16:28:30 +02:00
text-color: @normal-foreground;
2018-02-12 13:15:11 +01:00
margin: 0 0.3em 0 0;
2017-10-19 16:28:30 +02:00
}