From 2a5b7e76ca5b59eb29e256cc10a57c0a872cbc6a Mon Sep 17 00:00:00 2001 From: Tomaszal Date: Fri, 23 Feb 2018 19:23:21 +0200 Subject: [PATCH 1/2] Add material theme --- User Themes/README.md | 3 + User Themes/material.rasi | 131 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 User Themes/material.rasi diff --git a/User Themes/README.md b/User Themes/README.md index 3188b55..33f6c31 100644 --- a/User Themes/README.md +++ b/User Themes/README.md @@ -12,3 +12,6 @@ #### sidetab ![sidetab](https://53280.de/rofi/sidetab.png) + +#### material +![material](https://i.imgur.com/LNnYi6H.png) diff --git a/User Themes/material.rasi b/User Themes/material.rasi new file mode 100644 index 0000000..844f376 --- /dev/null +++ b/User Themes/material.rasi @@ -0,0 +1,131 @@ +/* + * ROFI color theme + * + * Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme) + * + * User: Tomaszal + * Copyright: Tomas Zaluckij + */ + +* { + base00: #263238; + base01: #2E3C43; + base02: #314549; + base03: #546E7A; + base04: #B2CCD6; + base05: #EEFFFF; + base06: #EEFFFF; + base07: #FFFFFF; + base08: #F07178; + base09: #F78C6C; + base0A: #FFCB6B; + base0B: #C3E88D; + base0C: #89DDFF; + base0D: #82AAFF; + base0E: #C792EA; + base0F: #FF5370; + + /*base0D: #00BCD4;*/ + + spacing: 0; + background-color: transparent; + + font: "Roboto Mono 13"; +} + +window { + transparency: "real"; + /*fullscreen: true;*/ + background-color: #263238CC; /*base00 + CC (80% opacity)*/ +} + +mainbox { + children: [inputbar, message, sidebar, listview]; + spacing: 30px; + /*margin: 20%;*/ + padding: 30px 0; + border: 1px; + border-color: @base0D; +} + +inputbar { + padding: 0 30px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @base0D; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0 1ch 0 0; + text-color: @base0D; +} + +entry { + text-color: @base07; +} + +case-indicator { + text-color: @base0F; +} + +sidebar, message { + border: 1px 0; + border-color: @base0D; +} + +button, textbox { + background-color: @base03; + text-color: @base07; + padding: 5px; +} + +button selected { + background-color: @base0D; +} + +listview { + scrollbar: true; + margin: 0 10px 0 30px; +} + +scrollbar { + background-color: @base03; + handle-color: @base0D; + handle-width: 10px; + border: 0 1px; + border-color: @base0D; + margin: 0 0 0 20px; +} + +element { + padding: 5px; + highlight: bold underline; +} + +element normal { + background-color: transparent; +} + +element selected { + background-color: @base0D; +} + +element alternate { + /*background-color: @base03;*/ +} + +element normal normal, element selected normal, element alternate normal { + text-color: @base07; +} + +element normal urgent, element selected urgent, element alternate urgent { + text-color: @base0F; +} + +element normal active, element selected active, element alternate active { + text-color: @base0B; +} From c7371cbc0ee94d46cef8473b61227a51bb92ad8e Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Fri, 23 Feb 2018 19:20:39 +0100 Subject: [PATCH 2/2] Update README.md --- User Themes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/User Themes/README.md b/User Themes/README.md index 33f6c31..255d503 100644 --- a/User Themes/README.md +++ b/User Themes/README.md @@ -14,4 +14,4 @@ ![sidetab](https://53280.de/rofi/sidetab.png) #### material -![material](https://i.imgur.com/LNnYi6H.png) +![material](https://53280.de/rofi/material.png)