sup

A curses threads-with-tags style email client

sup-colors.git

git clone https://supmua.dev/git/sup-colors/
commit 6bd0698e2ee66c9b5a6bb84a9811e5bcbaf4f2fb
parent bd1b10c3aee177c253977b2ebbc1c52c1df4f50c
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Thu, 24 Apr 2014 09:57:46 +0200

add template

Diffstat:
A template/README.md | 17 +++++++++++++++++
A template/colors.yaml | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A template/generate_template.rb | 15 +++++++++++++++
A template/screenshots/thread-index.png | 0
A template/screenshots/thread-view.png | 0
5 files changed, 190 insertions(+), 0 deletions(-)
diff --git a/template/README.md b/template/README.md
@@ -0,0 +1,17 @@
+template
+======
+
+A [sup](http://supmua.org/) colorscheme e.g. based on ...
+
+## Screenshots
+
+### Thread-index mode
+![thread index view](screenshots/thread-index.png)
+
+### Thread-view mode
+![thread view](screenshots/thread-view.png)
+
+## Usage
+
+Copy the file to ~/.sup/colors.yaml, see [Customizing colors](https://github.com/sup-heliotrope/sup/wiki/Customizing-colors) for details.
+
diff --git a/template/colors.yaml b/template/colors.yaml
@@ -0,0 +1,158 @@
+---
+:text:
+  :fg: white
+  :bg: black
+:status:
+  :fg: white
+  :bg: blue
+  :attrs:
+  - bold
+:index_old:
+  :fg: white
+  :bg: default
+:index_new:
+  :fg: white
+  :bg: default
+  :attrs:
+  - bold
+:index_starred:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:index_draft:
+  :fg: red
+  :bg: default
+  :attrs:
+  - bold
+:labellist_old:
+  :fg: white
+  :bg: default
+:labellist_new:
+  :fg: white
+  :bg: default
+  :attrs:
+  - bold
+:twiddle:
+  :fg: blue
+  :bg: default
+:label:
+  :fg: yellow
+  :bg: default
+:message_patina:
+  :fg: black
+  :bg: green
+:alternate_patina:
+  :fg: black
+  :bg: blue
+:missing_message:
+  :fg: black
+  :bg: red
+:attachment:
+  :fg: cyan
+  :bg: default
+:cryptosig_valid:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:cryptosig_valid_untrusted:
+  :fg: yellow
+  :bg: blue
+  :attrs:
+  - bold
+:cryptosig_unknown:
+  :fg: cyan
+  :bg: default
+:cryptosig_invalid:
+  :fg: yellow
+  :bg: red
+  :attrs:
+  - bold
+:generic_notice_patina:
+  :fg: cyan
+  :bg: default
+:quote_patina:
+  :fg: yellow
+  :bg: default
+:sig_patina:
+  :fg: yellow
+  :bg: default
+:quote:
+  :fg: yellow
+  :bg: default
+:sig:
+  :fg: yellow
+  :bg: default
+:to_me:
+  :fg: green
+  :bg: default
+:with_attachment:
+  :fg: green
+  :bg: default
+:starred:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:starred_patina:
+  :fg: yellow
+  :bg: green
+  :attrs:
+  - bold
+:alternate_starred_patina:
+  :fg: yellow
+  :bg: blue
+  :attrs:
+  - bold
+:snippet:
+  :fg: cyan
+  :bg: default
+:option:
+  :fg: white
+  :bg: default
+:tagged:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:draft_notification:
+  :fg: red
+  :bg: default
+  :attrs:
+  - bold
+:completion_character:
+  :fg: white
+  :bg: default
+  :attrs:
+  - bold
+:horizontal_selector_selected:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:horizontal_selector_unselected:
+  :fg: cyan
+  :bg: default
+:search_highlight:
+  :fg: black
+  :bg: yellow
+  :attrs:
+  - bold
+:system_buf:
+  :fg: blue
+  :bg: default
+:regular_buf:
+  :fg: white
+  :bg: default
+:modified_buffer:
+  :fg: yellow
+  :bg: default
+  :attrs:
+  - bold
+:date:
+  :fg: white
+  :bg: default
+:size_widget:
+  :fg: white
+  :bg: default
diff --git a/template/generate_template.rb b/template/generate_template.rb
@@ -0,0 +1,15 @@
+#! /usr/bin/env ruby
+#
+# get latest color scheme defintion from sup
+#
+
+require 'yaml'
+require 'rubygems'
+gem 'sup'
+
+require 'sup/colormap.rb'
+
+File.open('colors.yaml', 'w') do |f|
+  f.write Redwood::Colormap::DEFAULT_COLORS.to_yaml
+end
+
diff --git a/template/screenshots/thread-index.png b/template/screenshots/thread-index.png
Binary files differ.
diff --git a/template/screenshots/thread-view.png b/template/screenshots/thread-view.png
Binary files differ.