Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-14 17:25:09 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-14 17:25:09 (GMT)
commit8f9c2df634c0c20cd7d405fb49d30880d32ac9d6 (patch)
tree7898d164a274363f6a6a7c9157733606d9ce0db9
parent27f044241c7d645b6ec28f231e077b7968b0207a (diff)
Improve colors for better contrast
-rw-r--r--cardtable.py2
-rw-r--r--svgcard.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/cardtable.py b/cardtable.py
index 91f976d..77a7910 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -50,7 +50,7 @@ class CardTable(Gtk.EventBox):
self.set_size_request(100, 100)
self.connect('size-allocate', self._allocate_cb)
- self._background_color = '#EEEEEE'
+ self._background_color = '#BBBBBB'
# Set table settings
self.modify_bg(Gtk.StateType.NORMAL,
Gdk.color_parse(self._background_color))
diff --git a/svgcard.py b/svgcard.py
index b8dedfa..dcea9d0 100644
--- a/svgcard.py
+++ b/svgcard.py
@@ -52,10 +52,10 @@ class SvgCard(Gtk.EventBox):
# Default properties
default_props = {}
default_props['back'] = {'fill_color': style.Color('#666666'),
- 'stroke_color': style.Color('#b2b3b7')}
+ 'stroke_color': style.Color('#666666')}
default_props['back_text'] = {'text_color': style.Color('#c7c8cc')}
default_props['front'] = {'fill_color': style.Color('#4c4d4f'),
- 'stroke_color': style.Color('#ffffff')}
+ 'stroke_color': style.Color('#111111')}
default_props['front_text'] = {'text_color': '#ffffff'}
def __init__(self, identifier, pprops, jpeg, size,
@@ -126,7 +126,7 @@ class SvgCard(Gtk.EventBox):
if highlighted:
self.draw_round_rect(context, 0, 0, self.size, self.size, radio)
context.set_source_rgb(1., 1., 1.)
- context.set_line_width(6)
+ context.set_line_width(BORDER_WIDTH)
context.stroke()
return False