1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Fix default theme.

This commit is contained in:
Dave Davenport 2017-09-09 12:49:40 +02:00
parent af369bd244
commit b24660a204
3 changed files with 147 additions and 143 deletions

View file

@ -12,113 +12,115 @@
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: @background;
alternate-active-background: @lightbg;
bordercolor: @foreground;
background: rgba ( 253, 246, 227, 100 % );
alternate-normal-foreground: @foreground;
normal-background: @background;
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: @lightfg;
separatorcolor: @foreground;
border-color: @foreground;
spacing: 2;
separatorcolor: @foreground;
urgent-background: @background;
alternate-urgent-foreground: @red;
selected-urgent-background: @red;
alternate-urgent-foreground: @red;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @blue;
selected-active-background: @blue;
active-background: @background;
selected-active-background: @blue;
}
#window {
border: 1;
foreground: @foreground;
background: rgba ( 0, 0, 0, 0 % );
padding: 5;
background-color: @background;
border: 1;
padding: 5;
}
#window.box {
foreground: @bordercolor;
background: @background;
}
#window.mainbox {
#mainbox {
border: 0;
padding: 0;
}
#window.mainbox.message.box {
border: 1px dash 0px 0px ;
foreground: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.message.normal {
foreground: @foreground;
}
#window.mainbox.listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
#message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.listview.box {
foreground: @separatorcolor;
spacing: 2px ;
scrollbar: true;
#message.normal {
text-color: @foreground;
}
#window.mainbox.listview.element {
#listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
#element {
border: 0;
padding: 1px ;
}
#window.mainbox.listview.element.normal.normal {
foreground: @normal-foreground;
background: @normal-background;
#element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
#window.mainbox.listview.element.normal.urgent {
foreground: @urgent-foreground;
background: @urgent-background;
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#window.mainbox.listview.element.normal.active {
foreground: @active-foreground;
background: @active-background;
#element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
#window.mainbox.listview.element.selected.normal {
foreground: @selected-normal-foreground;
background: @selected-normal-background;
#element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#window.mainbox.listview.element.selected.urgent {
foreground: @selected-urgent-foreground;
background: @selected-urgent-background;
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
#window.mainbox.listview.element.selected.active {
foreground: @selected-active-foreground;
background: @selected-active-background;
#element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
#window.mainbox.listview.element.alternate.normal {
foreground: @alternate-normal-foreground;
background: @alternate-normal-background;
#element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
#window.mainbox.listview.element.alternate.urgent {
foreground: @alternate-urgent-foreground;
background: @alternate-urgent-background;
#element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
#window.mainbox.listview.element.alternate.active {
foreground: @alternate-active-foreground;
background: @alternate-active-background;
#element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
#window.mainbox.listview.scrollbar {
#scrollbar {
width: 4px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#window.mainbox.sidebar.box {
border: 2px dash 0px 0px ;
foreground: @separatorcolor;
#sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#window.mainbox.sidebar.button.selected {
foreground: @selected-normal-foreground;
background: @selected-normal-background;
#button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#window.mainbox.inputbar {
text: @normal-foreground;
spacing: 0;
padding: 1px ;
#inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
#window.mainbox.inputbar.box {
border: 0px ;
padding: 0px ;
#case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
#entry {
spacing: 0;
text-color: @normal-foreground;
}
#prompt {
spacing: 0;
text-color: @normal-foreground;
}

View file

@ -12,114 +12,116 @@
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 2, 20, 63, 100 % );
alternate-active-background: rgba ( 0, 0, 0, 0 % );
bordercolor: rgba ( 219, 223, 188, 100 % );
background: rgba ( 0, 0, 33, 87 % );
bordercolor: rgba ( 219, 223, 188, 100 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 0, 0, 0, 0 % );
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 219, 223, 188, 100 % );
separatorcolor: rgba ( 219, 223, 188, 100 % );
border-color: @foreground;
spacing: 2;
separatorcolor: rgba ( 219, 223, 188, 100 % );
urgent-background: rgba ( 0, 0, 0, 0 % );
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: rgba ( 255, 129, 127, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
selected-active-background: rgba ( 138, 196, 255, 100 % );
active-background: rgba ( 0, 0, 0, 0 % );
selected-active-background: rgba ( 138, 196, 255, 100 % );
}
#window {
border: 1;
foreground: @foreground;
background: rgba ( 0, 0, 0, 0 % );
padding: 5;
background-color: @background;
border: 1;
padding: 5;
}
#window.box {
foreground: @bordercolor;
background: @background;
}
#window.mainbox {
#mainbox {
border: 0;
padding: 0;
}
#window.mainbox.message.box {
border: 2px 0px 0px ;
foreground: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.message.normal {
foreground: @foreground;
}
#window.mainbox.listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
#message {
border: 2px 0px 0px ;
border-color: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.listview.box {
border: 2px 0px 0px ;
foreground: @separatorcolor;
spacing: 2px ;
scrollbar: true;
#message.normal {
text-color: @foreground;
}
#window.mainbox.listview.element {
#listview {
fixed-height: 0;
border: 2px 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
#element {
border: 0;
padding: 1px ;
}
#window.mainbox.listview.element.normal.normal {
foreground: @normal-foreground;
background: @normal-background;
#element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
#window.mainbox.listview.element.normal.urgent {
foreground: @urgent-foreground;
background: @urgent-background;
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#window.mainbox.listview.element.normal.active {
foreground: @active-foreground;
background: @active-background;
#element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
#window.mainbox.listview.element.selected.normal {
foreground: @selected-normal-foreground;
background: @selected-normal-background;
#element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#window.mainbox.listview.element.selected.urgent {
foreground: @selected-urgent-foreground;
background: @selected-urgent-background;
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
#window.mainbox.listview.element.selected.active {
foreground: @selected-active-foreground;
background: @selected-active-background;
#element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
#window.mainbox.listview.element.alternate.normal {
foreground: @alternate-normal-foreground;
background: @alternate-normal-background;
#element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
#window.mainbox.listview.element.alternate.urgent {
foreground: @alternate-urgent-foreground;
background: @alternate-urgent-background;
#element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
#window.mainbox.listview.element.alternate.active {
foreground: @alternate-active-foreground;
background: @alternate-active-background;
#element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
#window.mainbox.listview.scrollbar {
#scrollbar {
width: 4px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#window.mainbox.sidebar.box {
border: 2px 0px 0px ;
foreground: @separatorcolor;
#sidebar {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}
#window.mainbox.sidebar.button.selected {
foreground: @selected-normal-foreground;
background: @selected-normal-background;
#button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#window.mainbox.inputbar {
text: @normal-foreground;
spacing: 0;
padding: 1px ;
#inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
#window.mainbox.inputbar.box {
border: 0px ;
padding: 0px ;
#case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
#entry {
spacing: 0;
text-color: @normal-foreground;
}
#prompt {
spacing: 0;
text-color: @normal-foreground;
}

View file

@ -123,7 +123,7 @@ const char *default_theme =
" text-color: @alternate-active-foreground;"
" background-color: @alternate-active-background;"
"}"
"#window.mainbox.listview.scrollbar {"
"#scrollbar {"
" border: 0;"
" width: 4px;"
" padding: 0;"
@ -136,7 +136,7 @@ const char *default_theme =
" background-color: @selected-normal-background;"
" text-color: @selected-normal-foreground;"
"}"
"#inputbar {"
"#inputbar, case-indicator, entry, prompt {"
" spacing: 0;"
" text-color: @normal-foreground;"
"}";