From a1362010c32ce97d166db2e2b3d8497d4d16d409 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 8 Aug 2019 23:35:42 +0200 Subject: [PATCH] Fix default theme. --- doc/default_theme.rasi | 98 +++++++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 44 deletions(-) diff --git a/doc/default_theme.rasi b/doc/default_theme.rasi index 0b6940ab..41d3ea0b 100644 --- a/doc/default_theme.rasi +++ b/doc/default_theme.rasi @@ -2,39 +2,39 @@ * rofi -dump-theme output. **/ * { + selected-normal-foreground: var(lightbg); + foreground: rgba ( 0, 43, 54, 100 % ); + normal-foreground: var(foreground); + alternate-normal-background: var(lightbg); red: rgba ( 220, 50, 47, 100 % ); - selected-active-foreground: var(background); - lightfg: rgba ( 88, 104, 117, 100 % ); - separatorcolor: var(foreground); + selected-urgent-foreground: var(background); + blue: rgba ( 38, 139, 210, 100 % ); urgent-foreground: var(red); alternate-urgent-background: var(lightbg); - lightbg: rgba ( 238, 232, 213, 100 % ); - background-color: rgba ( 0, 0, 0, 0 % ); - border-color: var(foreground); - normal-background: var(background); - selected-urgent-background: var(red); - alternate-active-background: var(lightbg); - spacing: 2; - blue: rgba ( 38, 139, 210, 100 % ); - alternate-normal-foreground: var(foreground); - urgent-background: var(background); - selected-normal-foreground: var(lightbg); active-foreground: var(blue); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: var(background); + alternate-active-background: var(lightbg); background: rgba ( 253, 246, 227, 100 % ); - selected-active-background: var(blue); - active-background: var(background); + alternate-normal-foreground: var(foreground); + normal-background: var(background); + lightfg: rgba ( 88, 104, 117, 100 % ); selected-normal-background: var(lightfg); - alternate-normal-background: var(lightbg); - foreground: rgba ( 0, 43, 54, 100 % ); - selected-urgent-foreground: var(background); - normal-foreground: var(foreground); + border-color: var(foreground); + spacing: 2; + separatorcolor: var(foreground); + urgent-background: var(background); + selected-urgent-background: var(red); alternate-urgent-foreground: var(red); + background-color: rgba ( 0, 0, 0, 0 % ); alternate-active-foreground: var(blue); + active-background: var(background); + selected-active-background: var(blue); } element { - padding: 1px ; - spacing: 5px ; border: 0; + spacing: 5px ; + padding: 1px ; } element normal.normal { background-color: var(normal-background); @@ -80,16 +80,41 @@ element-icon { background-color: rgba ( 0, 0, 0, 0 % ); text-color: inherit; } +window { + background-color: var(background); + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px dash 0px 0px ; + border-color: var(separatorcolor); + padding: 1px ; +} +textbox { + text-color: var(foreground); +} +listview { + fixed-height: 0; + border: 2px dash 0px 0px ; + border-color: var(separatorcolor); + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} scrollbar { width: 4px ; - padding: 0; - handle-width: 8px ; border: 0; handle-color: var(normal-foreground); + handle-width: 8px ; + padding: 0; } -mode-switcher { - border-color: var(separatorcolor); +sidebar { border: 2px dash 0px 0px ; + border-color: var(separatorcolor); } button { spacing: 0; @@ -100,10 +125,10 @@ button selected { text-color: var(selected-normal-foreground); } inputbar { - padding: 1px ; spacing: 0px ; text-color: var(normal-foreground); - children: [ prompt,textbox-prompt-colon,entry,overlay,case-indicator ]; + padding: 1px ; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; } case-indicator { spacing: 0; @@ -118,23 +143,8 @@ prompt { text-color: var(normal-foreground); } textbox-prompt-colon { - margin: 0px 0.3000em 0.0000em 0.0000em ; expand: false; str: ":"; + margin: 0px 0.3000em 0.0000em 0.0000em ; text-color: inherit; } -error-message { - background-color: rgba ( 0, 0, 0, 0 % ); - text-color: var(normal-foreground); -} -window { - padding: 5; - border: 1; -} -listview { - scrollbar: true; - spacing: 2px ; -} -message { - padding: 1px ; -}