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 % ); lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: @background; selected-active-foreground: @background;
alternate-active-background: @lightbg; alternate-active-background: @lightbg;
bordercolor: @foreground;
background: rgba ( 253, 246, 227, 100 % ); background: rgba ( 253, 246, 227, 100 % );
alternate-normal-foreground: @foreground; alternate-normal-foreground: @foreground;
normal-background: @background; normal-background: @background;
lightfg: rgba ( 88, 104, 117, 100 % ); lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: @lightfg; selected-normal-background: @lightfg;
separatorcolor: @foreground; border-color: @foreground;
spacing: 2; spacing: 2;
separatorcolor: @foreground;
urgent-background: @background; urgent-background: @background;
alternate-urgent-foreground: @red;
selected-urgent-background: @red; selected-urgent-background: @red;
alternate-urgent-foreground: @red;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @blue; alternate-active-foreground: @blue;
selected-active-background: @blue;
active-background: @background; active-background: @background;
selected-active-background: @blue;
} }
#window { #window {
border: 1; background-color: @background;
foreground: @foreground; border: 1;
background: rgba ( 0, 0, 0, 0 % ); padding: 5;
padding: 5;
} }
#window.box { #mainbox {
foreground: @bordercolor;
background: @background;
}
#window.mainbox {
border: 0; border: 0;
padding: 0; padding: 0;
} }
#window.mainbox.message.box { #message {
border: 1px dash 0px 0px ; border: 1px dash 0px 0px ;
foreground: @separatorcolor; border-color: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.message.normal {
foreground: @foreground;
}
#window.mainbox.listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
padding: 2px 0px 0px ; padding: 2px 0px 0px ;
} }
#window.mainbox.listview.box { #message.normal {
foreground: @separatorcolor; text-color: @foreground;
spacing: 2px ;
scrollbar: true;
} }
#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; border: 0;
padding: 1px ; padding: 1px ;
} }
#window.mainbox.listview.element.normal.normal { #element.normal.normal {
foreground: @normal-foreground; background-color: @normal-background;
background: @normal-background; text-color: @normal-foreground;
} }
#window.mainbox.listview.element.normal.urgent { #element.normal.urgent {
foreground: @urgent-foreground; background-color: @urgent-background;
background: @urgent-background; text-color: @urgent-foreground;
} }
#window.mainbox.listview.element.normal.active { #element.normal.active {
foreground: @active-foreground; background-color: @active-background;
background: @active-background; text-color: @active-foreground;
} }
#window.mainbox.listview.element.selected.normal { #element.selected.normal {
foreground: @selected-normal-foreground; background-color: @selected-normal-background;
background: @selected-normal-background; text-color: @selected-normal-foreground;
} }
#window.mainbox.listview.element.selected.urgent { #element.selected.urgent {
foreground: @selected-urgent-foreground; background-color: @selected-urgent-background;
background: @selected-urgent-background; text-color: @selected-urgent-foreground;
} }
#window.mainbox.listview.element.selected.active { #element.selected.active {
foreground: @selected-active-foreground; background-color: @selected-active-background;
background: @selected-active-background; text-color: @selected-active-foreground;
} }
#window.mainbox.listview.element.alternate.normal { #element.alternate.normal {
foreground: @alternate-normal-foreground; background-color: @alternate-normal-background;
background: @alternate-normal-background; text-color: @alternate-normal-foreground;
} }
#window.mainbox.listview.element.alternate.urgent { #element.alternate.urgent {
foreground: @alternate-urgent-foreground; background-color: @alternate-urgent-background;
background: @alternate-urgent-background; text-color: @alternate-urgent-foreground;
} }
#window.mainbox.listview.element.alternate.active { #element.alternate.active {
foreground: @alternate-active-foreground; background-color: @alternate-active-background;
background: @alternate-active-background; text-color: @alternate-active-foreground;
} }
#window.mainbox.listview.scrollbar { #scrollbar {
width: 4px ; width: 4px ;
border: 0; border: 0;
handle-width: 8px ; handle-width: 8px ;
padding: 0; padding: 0;
} }
#window.mainbox.sidebar.box { #sidebar {
border: 2px dash 0px 0px ; border: 2px dash 0px 0px ;
foreground: @separatorcolor; border-color: @separatorcolor;
} }
#window.mainbox.sidebar.button.selected { #button.selected {
foreground: @selected-normal-foreground; background-color: @selected-normal-background;
background: @selected-normal-background; text-color: @selected-normal-foreground;
} }
#window.mainbox.inputbar { #inputbar {
text: @normal-foreground; spacing: 0;
spacing: 0; text-color: @normal-foreground;
padding: 1px ; padding: 1px ;
} }
#window.mainbox.inputbar.box { #case-indicator {
border: 0px ; spacing: 0;
padding: 0px ; 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 % ); lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 2, 20, 63, 100 % ); selected-active-foreground: rgba ( 2, 20, 63, 100 % );
alternate-active-background: rgba ( 0, 0, 0, 0 % ); alternate-active-background: rgba ( 0, 0, 0, 0 % );
bordercolor: rgba ( 219, 223, 188, 100 % );
background: rgba ( 0, 0, 33, 87 % ); background: rgba ( 0, 0, 33, 87 % );
bordercolor: rgba ( 219, 223, 188, 100 % );
alternate-normal-foreground: @foreground; alternate-normal-foreground: @foreground;
normal-background: rgba ( 0, 0, 0, 0 % ); normal-background: rgba ( 0, 0, 0, 0 % );
lightfg: rgba ( 88, 104, 117, 100 % ); lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 219, 223, 188, 100 % ); selected-normal-background: rgba ( 219, 223, 188, 100 % );
separatorcolor: rgba ( 219, 223, 188, 100 % ); border-color: @foreground;
spacing: 2; spacing: 2;
separatorcolor: rgba ( 219, 223, 188, 100 % );
urgent-background: rgba ( 0, 0, 0, 0 % ); urgent-background: rgba ( 0, 0, 0, 0 % );
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: rgba ( 255, 129, 127, 100 % ); 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; alternate-active-foreground: @active-foreground;
selected-active-background: rgba ( 138, 196, 255, 100 % );
active-background: rgba ( 0, 0, 0, 0 % ); active-background: rgba ( 0, 0, 0, 0 % );
selected-active-background: rgba ( 138, 196, 255, 100 % );
} }
#window { #window {
border: 1; background-color: @background;
foreground: @foreground; border: 1;
background: rgba ( 0, 0, 0, 0 % ); padding: 5;
padding: 5;
} }
#window.box { #mainbox {
foreground: @bordercolor;
background: @background;
}
#window.mainbox {
border: 0; border: 0;
padding: 0; padding: 0;
} }
#window.mainbox.message.box { #message {
border: 2px 0px 0px ; border: 2px 0px 0px ;
foreground: @separatorcolor; border-color: @separatorcolor;
padding: 2px 0px 0px ;
}
#window.mainbox.message.normal {
foreground: @foreground;
}
#window.mainbox.listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
padding: 2px 0px 0px ; padding: 2px 0px 0px ;
} }
#window.mainbox.listview.box { #message.normal {
border: 2px 0px 0px ; text-color: @foreground;
foreground: @separatorcolor;
spacing: 2px ;
scrollbar: true;
} }
#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; border: 0;
padding: 1px ; padding: 1px ;
} }
#window.mainbox.listview.element.normal.normal { #element.normal.normal {
foreground: @normal-foreground; background-color: @normal-background;
background: @normal-background; text-color: @normal-foreground;
} }
#window.mainbox.listview.element.normal.urgent { #element.normal.urgent {
foreground: @urgent-foreground; background-color: @urgent-background;
background: @urgent-background; text-color: @urgent-foreground;
} }
#window.mainbox.listview.element.normal.active { #element.normal.active {
foreground: @active-foreground; background-color: @active-background;
background: @active-background; text-color: @active-foreground;
} }
#window.mainbox.listview.element.selected.normal { #element.selected.normal {
foreground: @selected-normal-foreground; background-color: @selected-normal-background;
background: @selected-normal-background; text-color: @selected-normal-foreground;
} }
#window.mainbox.listview.element.selected.urgent { #element.selected.urgent {
foreground: @selected-urgent-foreground; background-color: @selected-urgent-background;
background: @selected-urgent-background; text-color: @selected-urgent-foreground;
} }
#window.mainbox.listview.element.selected.active { #element.selected.active {
foreground: @selected-active-foreground; background-color: @selected-active-background;
background: @selected-active-background; text-color: @selected-active-foreground;
} }
#window.mainbox.listview.element.alternate.normal { #element.alternate.normal {
foreground: @alternate-normal-foreground; background-color: @alternate-normal-background;
background: @alternate-normal-background; text-color: @alternate-normal-foreground;
} }
#window.mainbox.listview.element.alternate.urgent { #element.alternate.urgent {
foreground: @alternate-urgent-foreground; background-color: @alternate-urgent-background;
background: @alternate-urgent-background; text-color: @alternate-urgent-foreground;
} }
#window.mainbox.listview.element.alternate.active { #element.alternate.active {
foreground: @alternate-active-foreground; background-color: @alternate-active-background;
background: @alternate-active-background; text-color: @alternate-active-foreground;
} }
#window.mainbox.listview.scrollbar { #scrollbar {
width: 4px ; width: 4px ;
border: 0; border: 0;
handle-width: 8px ; handle-width: 8px ;
padding: 0; padding: 0;
} }
#window.mainbox.sidebar.box { #sidebar {
border: 2px 0px 0px ; border: 2px 0px 0px ;
foreground: @separatorcolor; border-color: @separatorcolor;
} }
#window.mainbox.sidebar.button.selected { #button.selected {
foreground: @selected-normal-foreground; background-color: @selected-normal-background;
background: @selected-normal-background; text-color: @selected-normal-foreground;
} }
#window.mainbox.inputbar { #inputbar {
text: @normal-foreground; spacing: 0;
spacing: 0; text-color: @normal-foreground;
padding: 1px ; padding: 1px ;
} }
#window.mainbox.inputbar.box { #case-indicator {
border: 0px ; spacing: 0;
padding: 0px ; 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;" " text-color: @alternate-active-foreground;"
" background-color: @alternate-active-background;" " background-color: @alternate-active-background;"
"}" "}"
"#window.mainbox.listview.scrollbar {" "#scrollbar {"
" border: 0;" " border: 0;"
" width: 4px;" " width: 4px;"
" padding: 0;" " padding: 0;"
@ -136,7 +136,7 @@ const char *default_theme =
" background-color: @selected-normal-background;" " background-color: @selected-normal-background;"
" text-color: @selected-normal-foreground;" " text-color: @selected-normal-foreground;"
"}" "}"
"#inputbar {" "#inputbar, case-indicator, entry, prompt {"
" spacing: 0;" " spacing: 0;"
" text-color: @normal-foreground;" " text-color: @normal-foreground;"
"}"; "}";