From a7f561de725b9cfe2500f2e7e58316792cd07ee9 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 2 Jun 2019 21:49:05 -0400 Subject: [PATCH] Added color theme for rofi. This is largely based off the default theme for rofi but with the pure color theme applies. --- rofi/config | 1 + rofi/theme.rasi | 146 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 rofi/theme.rasi diff --git a/rofi/config b/rofi/config index ef98614..7635cb5 100644 --- a/rofi/config +++ b/rofi/config @@ -1 +1,2 @@ rofi.font: FiraCode 10 +rofi.theme: theme.rasi diff --git a/rofi/theme.rasi b/rofi/theme.rasi new file mode 100644 index 0000000..d92ebd2 --- /dev/null +++ b/rofi/theme.rasi @@ -0,0 +1,146 @@ +/** + * rofi -dump-theme output. + * Rofi version: 1.5.2 + **/ +* { + background-color: rgba ( 0, 0, 0, 0 % ); + background: #161720; + blue: rgba ( 38, 139, 210, 100 % ); + foreground: #d6e5fb; + alt-bg: #12151a; + alt-fg: #02a4fc; + red: rgba ( 220, 50, 47, 100 % ); + active-background: @background; + active-foreground: @blue; + alternate-active-background: @alt-bg; + alternate-active-foreground: @blue; + alternate-normal-background: @alt-bg; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @alt-bg; + alternate-urgent-foreground: @red; + border-color: @background; + normal-background: @background; + normal-foreground: @foreground; + selected-active-background: @blue; + selected-active-foreground: @background; + selected-normal-background: @alt-fg; + selected-normal-foreground: @alt-bg; + selected-urgent-background: @red; + selected-urgent-foreground: @background; + separatorcolor: @foreground; + spacing: 2; + urgent-background: @background; + urgent-foreground: @red; +} +window { + padding: 5; + background-color: @background; + border: 1; +} +mainbox { + padding: 0; + border: 0; +} +message { + padding: 1px ; + border-color: @separatorcolor; + border: 2px dash 0px 0px ; +} +textbox { + text-color: @foreground; +} +listview { + padding: 2px 0px 0px ; + scrollbar: true; + border-color: @separatorcolor; + spacing: 2px ; + fixed-height: 0; + border: 2px dash 0px 0px ; +} +element { + padding: 1px ; + border: 0; +} +element normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + padding: 0; + handle-width: 8px ; + border: 0; + handle-color: @alt-fg; +} +sidebar { + border-color: @separatorcolor; + border: 2px dash 0px 0px ; +} +button { + spacing: 0; + text-color: @normal-foreground; +} +button selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + padding: 1px ; + spacing: 0px ; + text-color: @normal-foreground; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt { + spacing: 0; + text-color: @blue; +} +textbox-prompt-colon { + margin: 0px 0.3000em 0.0000em 0.0000em ; + expand: false; + str: ":"; + text-color: inherit; +} +error-message { + background-color: rgba ( 0, 0, 0, 0 % ); + text-color: @normal-foreground; +}