about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-13 01:55:53 +0200
committerhut <hut@lavabit.com>2012-08-13 01:55:53 +0200
commit6e37c9520e9365f717d0e40c89cc71663eb2f80d (patch)
treec893896a7ffb29beeac4f9de120b0566cefcc6c3
parentb2e7394d9d36453194d0eab72f3410017efcfb57 (diff)
downloadranger-6e37c9520e9365f717d0e40c89cc71663eb2f80d.tar.gz
deleted colorschemes/default88.py, it is outdated (and ugly)
-rw-r--r--ranger/colorschemes/default88.py45
1 files changed, 0 insertions, 45 deletions
diff --git a/ranger/colorschemes/default88.py b/ranger/colorschemes/default88.py
deleted file mode 100644
index 2a2d4825..00000000
--- a/ranger/colorschemes/default88.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright (C) 2009, 2010, 2011  Roman Zimbelmann <romanz@lavabit.com>
-# This software is distributed under the terms of the GNU GPL version 3.
-
-"""
-The default colorscheme, using 88 colors.
-
-For now, just map each of the 8 base colors to new ones
-for brighter blue, etc. and do some minor modifications.
-"""
-
-from ranger.gui.color import *
-from ranger.colorschemes.default import Default
-import curses
-
-class Scheme(Default):
-	def use(self, context):
-		fg, bg, attr = Default.use(self, context)
-
-		if curses.COLORS < 88:
-			return fg, bg, attr
-
-		try:
-			translate = {
-				blue: 22,
-				yellow: 72,
-				green: 20,
-				cyan: 21,
-				white: 79,
-				red: 32,
-				magenta: magenta,
-			}
-			fg = translate[fg]
-		except KeyError:
-			pass
-
-		if context.in_browser:
-			if context.main_column and context.marked:
-				if context.selected:
-					fg = 77
-				else:
-					fg = 68
-					attr |= reverse
-
-		return fg, bg, attr
-