diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-09-09 12:49:40 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-09-09 12:49:40 +0200 |
commit | b24660a2045f3d6efc4727d4e4b3767f8da07e03 (patch) | |
tree | 514c87b3c3258d90d0447f8d34afff8e9a244960 /doc | |
parent | af369bd2443411ce0af29afd1c12fbe96b207da4 (diff) |
Fix default theme.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/default_theme.rasi | 136 | ||||
-rw-r--r-- | doc/old-theme-convert-output.rasi | 140 |
2 files changed, 140 insertions, 136 deletions
diff --git a/doc/default_theme.rasi b/doc/default_theme.rasi index 253e06c8..8ee95e2b 100644 --- a/doc/default_theme.rasi +++ b/doc/default_theme.rasi @@ -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; -} -#window.box { - foreground: @bordercolor; - background: @background; + background-color: @background; + border: 1; + padding: 5; } -#window.mainbox { +#mainbox { border: 0; padding: 0; } -#window.mainbox.message.box { - border: 1px dash 0px 0px ; - foreground: @separatorcolor; - padding: 2px 0px 0px ; +#message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 2px 0px 0px ; } -#window.mainbox.message.normal { - foreground: @foreground; +#message.normal { + text-color: @foreground; } -#window.mainbox.listview { +#listview { fixed-height: 0; border: 2px dash 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; padding: 2px 0px 0px ; } -#window.mainbox.listview.box { - foreground: @separatorcolor; - spacing: 2px ; - scrollbar: true; -} -#window.mainbox.listview.element { +#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; +} +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; } -#window.mainbox.sidebar.button.selected { - foreground: @selected-normal-foreground; - background: @selected-normal-background; +#inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; } -#window.mainbox.inputbar { - text: @normal-foreground; - spacing: 0; - padding: 1px ; +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +#entry { + spacing: 0; + text-color: @normal-foreground; } -#window.mainbox.inputbar.box { - border: 0px ; - padding: 0px ; +#prompt { + spacing: 0; + text-color: @normal-foreground; } diff --git a/doc/old-theme-convert-output.rasi b/doc/old-theme-convert-output.rasi index 99211cf4..9f7dbf12 100644 --- a/doc/old-theme-convert-output.rasi +++ b/doc/old-theme-convert-output.rasi @@ -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; -} -#window.box { - foreground: @bordercolor; - background: @background; + background-color: @background; + border: 1; + padding: 5; } -#window.mainbox { +#mainbox { border: 0; padding: 0; } -#window.mainbox.message.box { - border: 2px 0px 0px ; - foreground: @separatorcolor; - padding: 2px 0px 0px ; +#message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 2px 0px 0px ; } -#window.mainbox.message.normal { - foreground: @foreground; +#message.normal { + text-color: @foreground; } -#window.mainbox.listview { +#listview { fixed-height: 0; - border: 2px dash 0px 0px ; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; padding: 2px 0px 0px ; } -#window.mainbox.listview.box { - border: 2px 0px 0px ; - foreground: @separatorcolor; - spacing: 2px ; - scrollbar: true; -} -#window.mainbox.listview.element { +#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 ; +} +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +#entry { + spacing: 0; + text-color: @normal-foreground; } -#window.mainbox.inputbar.box { - border: 0px ; - padding: 0px ; +#prompt { + spacing: 0; + text-color: @normal-foreground; } |