From 911a78cd0e2b774532ffc0b4b81380bafdd85d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=C3=A8le=20Digoin?= Date: Tue, 18 Jun 2013 14:47:36 +0200 Subject: [PATCH] start style of color --- pygal/style.py | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/pygal/style.py b/pygal/style.py index 319a17e..2550f3f 100644 --- a/pygal/style.py +++ b/pygal/style.py @@ -122,10 +122,35 @@ LightSolarizedStyle = Style( transition='500ms ease-in', colors=solarized_colors) +AnaeleStyle = Style( + background='#c3c4c6', + plot_background='#e6e7e9', + foreground='rgba(0, 0, 0, 0.9)', + foreground_light='rgba(0, 0, 0, 0.9)', + foreground_dark='rgba(0, 0, 0, 0.5)', + opacity='.6', + opacity_hover='.9', + colors=( + '#d94e4c', '#e5884f', '#39929a', '#3c6368', + '#b73a3b', '#b73a3b', '#b73a3b', '#234547')) + + +DarkColorizedStyle = Style( + background='#3a2d3f', + plot_background='#4c3c53', + foreground='rgba(255, 255, 255, 0.9)', + foreground_light='rgba(255, 255, 255, 0.9)', + foreground_dark='rgba(255, 255, 255, 0.5)', + opacity='.6', + opacity_hover='.9', + colors=( + '#02b8ff', '#d801ff')) styles = {'default': DefaultStyle, 'light': LightStyle, 'neon': NeonStyle, 'clean': CleanStyle, + 'anaele': AnaeleStyle, 'dark_solarized': DarkSolarizedStyle, - 'light_solarized': LightSolarizedStyle} + 'light_solarized': LightSolarizedStyle, + 'dark_colorized': DarkColorizedStyle }