changeset 2649:82ffb3f45eed

Added pygments css classes in basic theme by installing pygments Xstatic package in the virtual environment and importing css files from there. Also removed the manually added pygments definitions in the foobar and modernized themes and imported pygments css in the same wasy as done in the basic theme.
author Ajitesh Gupta <ajgupta93@gmail.com>
date Wed, 25 Jun 2014 22:20:52 +0530
parents 647ee04f863e
children 4385775cf3a1
files MoinMoin/themes/basic/static/css/basic.css MoinMoin/themes/basic/static/custom-less/basic.less MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl make.py setup.py wikiconfig.py
diffstat 9 files changed, 401 insertions(+), 112 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/basic.css	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/basic/static/css/basic.css	Wed Jun 25 22:20:52 2014 +0530
@@ -5785,6 +5785,281 @@
     display: none !important;
   }
 }
+.hll {
+  background-color: #ffffcc;
+}
+.c {
+  color: #888888;
+}
+/* Comment */
+.err {
+  color: #FF0000;
+  background-color: #ffaaaa;
+}
+/* Error */
+.k {
+  color: #008800;
+  font-weight: bold;
+}
+/* Keyword */
+.o {
+  color: #333333;
+}
+/* Operator */
+.cm {
+  color: #888888;
+}
+/* Comment.Multiline */
+.cp {
+  color: #557799;
+}
+/* Comment.Preproc */
+.c1 {
+  color: #888888;
+}
+/* Comment.Single */
+.cs {
+  color: #cc0000;
+  font-weight: bold;
+}
+/* Comment.Special */
+.gd {
+  color: #a00000;
+}
+/* Generic.Deleted */
+.ge {
+  font-style: italic;
+}
+/* Generic.Emph */
+.gr {
+  color: #ff0000;
+}
+/* Generic.Error */
+.gh {
+  color: #000080;
+  font-weight: bold;
+}
+/* Generic.Heading */
+.gi {
+  color: #00a000;
+}
+/* Generic.Inserted */
+.go {
+  color: #888888;
+}
+/* Generic.Output */
+.gp {
+  color: #c65d09;
+  font-weight: bold;
+}
+/* Generic.Prompt */
+.gs {
+  font-weight: bold;
+}
+/* Generic.Strong */
+.gu {
+  color: #800080;
+  font-weight: bold;
+}
+/* Generic.Subheading */
+.gt {
+  color: #0044dd;
+}
+/* Generic.Traceback */
+.kc {
+  color: #008800;
+  font-weight: bold;
+}
+/* Keyword.Constant */
+.kd {
+  color: #008800;
+  font-weight: bold;
+}
+/* Keyword.Declaration */
+.kn {
+  color: #008800;
+  font-weight: bold;
+}
+/* Keyword.Namespace */
+.kp {
+  color: #003388;
+  font-weight: bold;
+}
+/* Keyword.Pseudo */
+.kr {
+  color: #008800;
+  font-weight: bold;
+}
+/* Keyword.Reserved */
+.kt {
+  color: #333399;
+  font-weight: bold;
+}
+/* Keyword.Type */
+.m {
+  color: #6600EE;
+  font-weight: bold;
+}
+/* Literal.Number */
+.s {
+  background-color: #fff0f0;
+}
+/* Literal.String */
+.na {
+  color: #0000cc;
+}
+/* Name.Attribute */
+.nb {
+  color: #007020;
+}
+/* Name.Builtin */
+.nc {
+  color: #BB0066;
+  font-weight: bold;
+}
+/* Name.Class */
+.no {
+  color: #003366;
+  font-weight: bold;
+}
+/* Name.Constant */
+.nd {
+  color: #555555;
+  font-weight: bold;
+}
+/* Name.Decorator */
+.ni {
+  color: #880000;
+  font-weight: bold;
+}
+/* Name.Entity */
+.ne {
+  color: #FF0000;
+  font-weight: bold;
+}
+/* Name.Exception */
+.nf {
+  color: #0066BB;
+  font-weight: bold;
+}
+/* Name.Function */
+.nl {
+  color: #997700;
+  font-weight: bold;
+}
+/* Name.Label */
+.nn {
+  color: #0e84b5;
+  font-weight: bold;
+}
+/* Name.Namespace */
+.nt {
+  color: #007700;
+}
+/* Name.Tag */
+.nv {
+  color: #996633;
+}
+/* Name.Variable */
+.ow {
+  color: #000000;
+  font-weight: bold;
+}
+/* Operator.Word */
+.w {
+  color: #bbbbbb;
+}
+/* Text.Whitespace */
+.mf {
+  color: #6600EE;
+  font-weight: bold;
+}
+/* Literal.Number.Float */
+.mh {
+  color: #005588;
+  font-weight: bold;
+}
+/* Literal.Number.Hex */
+.mi {
+  color: #0000DD;
+  font-weight: bold;
+}
+/* Literal.Number.Integer */
+.mo {
+  color: #4400EE;
+  font-weight: bold;
+}
+/* Literal.Number.Oct */
+.sb {
+  background-color: #fff0f0;
+}
+/* Literal.String.Backtick */
+.sc {
+  color: #0044dd;
+}
+/* Literal.String.Char */
+.sd {
+  color: #dd4422;
+}
+/* Literal.String.Doc */
+.s2 {
+  background-color: #fff0f0;
+}
+/* Literal.String.Double */
+.se {
+  color: #666666;
+  font-weight: bold;
+  background-color: #fff0f0;
+}
+/* Literal.String.Escape */
+.sh {
+  background-color: #fff0f0;
+}
+/* Literal.String.Heredoc */
+.si {
+  background-color: #eeeeee;
+}
+/* Literal.String.Interpol */
+.sx {
+  color: #DD2200;
+  background-color: #fff0f0;
+}
+/* Literal.String.Other */
+.sr {
+  color: #000000;
+  background-color: #fff0ff;
+}
+/* Literal.String.Regex */
+.s1 {
+  background-color: #fff0f0;
+}
+/* Literal.String.Single */
+.ss {
+  color: #aa6600;
+}
+/* Literal.String.Symbol */
+.bp {
+  color: #007020;
+}
+/* Name.Builtin.Pseudo */
+.vc {
+  color: #336699;
+}
+/* Name.Variable.Class */
+.vg {
+  color: #dd7700;
+  font-weight: bold;
+}
+/* Name.Variable.Global */
+.vi {
+  color: #3333bb;
+}
+/* Name.Variable.Instance */
+.il {
+  color: #0000DD;
+  font-weight: bold;
+}
+/* Literal.Number.Integer.Long */
 @media screen and (min-width: 992px) {
   .moin-pull-right {
     float: right !important;
--- a/MoinMoin/themes/basic/static/custom-less/basic.less	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/basic.less	Wed Jun 25 22:20:52 2014 +0530
@@ -1,6 +1,7 @@
 @import "notice.less";
 @import "bootstrap.less";
 @import "moin-variables.less";
+@import (less) "colorful.css";
 
 // ---- Customising the top navbar breakpoint
 @grid-float-breakpoint: @screen-md;
--- a/MoinMoin/themes/foobar/static/css/common.css	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Wed Jun 25 22:20:52 2014 +0530
@@ -38,66 +38,66 @@
 input, select { vertical-align: middle; }
 /* end HTML5 reset */
 .hll { background-color: #ffffcc }
-.c { color: #408080; font-style: italic } /* Comment */
-.err { border: 1px solid #FF0000 } /* Error */
-.k { color: #008000; font-weight: bold } /* Keyword */
-.o { color: #666666 } /* Operator */
-.cm { color: #408080; font-style: italic } /* Comment.Multiline */
-.cp { color: #BC7A00 } /* Comment.Preproc */
-.c1 { color: #408080; font-style: italic } /* Comment.Single */
-.cs { color: #408080; font-style: italic } /* Comment.Special */
+.c { color: #888888 } /* Comment */
+.err { color: #FF0000; background-color: #FFAAAA } /* Error */
+.k { color: #008800; font-weight: bold } /* Keyword */
+.o { color: #333333 } /* Operator */
+.cm { color: #888888 } /* Comment.Multiline */
+.cp { color: #557799 } /* Comment.Preproc */
+.c1 { color: #888888 } /* Comment.Single */
+.cs { color: #cc0000; font-weight: bold } /* Comment.Special */
 .gd { color: #A00000 } /* Generic.Deleted */
 .ge { font-style: italic } /* Generic.Emph */
 .gr { color: #FF0000 } /* Generic.Error */
 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
 .gi { color: #00A000 } /* Generic.Inserted */
-.go { color: #808080 } /* Generic.Output */
-.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
 .gs { font-weight: bold } /* Generic.Strong */
 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.gt { color: #0040D0 } /* Generic.Traceback */
-.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.kp { color: #008000 } /* Keyword.Pseudo */
-.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.kt { color: #B00040 } /* Keyword.Type */
-.m { color: #666666 } /* Literal.Number */
-.s { color: #BA2121 } /* Literal.String */
-.na { color: #7D9029 } /* Name.Attribute */
-.nb { color: #008000 } /* Name.Builtin */
-.nc { color: #0000FF; font-weight: bold } /* Name.Class */
-.no { color: #880000 } /* Name.Constant */
-.nd { color: #AA22FF } /* Name.Decorator */
-.ni { color: #999999; font-weight: bold } /* Name.Entity */
-.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.nf { color: #0000FF } /* Name.Function */
-.nl { color: #A0A000 } /* Name.Label */
-.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.nt { color: #008000; font-weight: bold } /* Name.Tag */
-.nv { color: #19177C } /* Name.Variable */
-.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
+.gt { color: #0044DD } /* Generic.Traceback */
+.kc { color: #008800; font-weight: bold } /* Keyword.Constant */
+.kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #333399; font-weight: bold } /* Keyword.Type */
+.m { color: #6600EE; font-weight: bold } /* Literal.Number */
+.s { background-color: #fff0f0 } /* Literal.String */
+.na { color: #0000CC } /* Name.Attribute */
+.nb { color: #007020 } /* Name.Builtin */
+.nc { color: #BB0066; font-weight: bold } /* Name.Class */
+.no { color: #003366; font-weight: bold } /* Name.Constant */
+.nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.ni { color: #880000; font-weight: bold } /* Name.Entity */
+.ne { color: #FF0000; font-weight: bold } /* Name.Exception */
+.nf { color: #0066BB; font-weight: bold } /* Name.Function */
+.nl { color: #997700; font-weight: bold } /* Name.Label */
+.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.nt { color: #007700 } /* Name.Tag */
+.nv { color: #996633 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
 .w { color: #bbbbbb } /* Text.Whitespace */
-.mf { color: #666666 } /* Literal.Number.Float */
-.mh { color: #666666 } /* Literal.Number.Hex */
-.mi { color: #666666 } /* Literal.Number.Integer */
-.mo { color: #666666 } /* Literal.Number.Oct */
-.sb { color: #BA2121 } /* Literal.String.Backtick */
-.sc { color: #BA2121 } /* Literal.String.Char */
-.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.s2 { color: #BA2121 } /* Literal.String.Double */
-.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.sh { color: #BA2121 } /* Literal.String.Heredoc */
-.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.sx { color: #008000 } /* Literal.String.Other */
-.sr { color: #BB6688 } /* Literal.String.Regex */
-.s1 { color: #BA2121 } /* Literal.String.Single */
-.ss { color: #19177C } /* Literal.String.Symbol */
-.bp { color: #008000 } /* Name.Builtin.Pseudo */
-.vc { color: #19177C } /* Name.Variable.Class */
-.vg { color: #19177C } /* Name.Variable.Global */
-.vi { color: #19177C } /* Name.Variable.Instance */
-.il { color: #666666 } /* Literal.Number.Integer.Long */
+.mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
+.mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
+.mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
+.mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
+.sb { background-color: #fff0f0 } /* Literal.String.Backtick */
+.sc { color: #0044DD } /* Literal.String.Char */
+.sd { color: #DD4422 } /* Literal.String.Doc */
+.s2 { background-color: #fff0f0 } /* Literal.String.Double */
+.se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
+.sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
+.si { background-color: #eeeeee } /* Literal.String.Interpol */
+.sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */
+.sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
+.s1 { background-color: #fff0f0 } /* Literal.String.Single */
+.ss { color: #AA6600 } /* Literal.String.Symbol */
+.bp { color: #007020 } /* Name.Builtin.Pseudo */
+.vc { color: #336699 } /* Name.Variable.Class */
+.vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */
+.vi { color: #3333BB } /* Name.Variable.Instance */
+.il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
 /* smileys -- <span class="moin-text-icon moin-smile">:-)</span> */
 .moin-text-icon { font-size: 0; color: transparent; }
 .moin-alert:before { content: url('../img/smileys/alert.png'); }
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Wed Jun 25 22:20:52 2014 +0530
@@ -8,8 +8,8 @@
 // reset all browser-specific default to have common defaults everywhere
 @import "reset.css"
 
-// auto-generated by pygmentize -S default -f html >pygments_default.css
-@import "pygments_default.css"
+// pygments css - colorful theme
+@import "colorful.css"
 
 // smileys used by moin wiki parser (and maybe others)
 @import "smileys.css"
--- a/MoinMoin/themes/modernized/static/css/common.css	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Wed Jun 25 22:20:52 2014 +0530
@@ -131,66 +131,66 @@
 .moin-diff-removed{background-color:#ffffe0;vertical-align:top;width:50%;white-space:pre-wrap;word-wrap:break-word;font-family:monospace;}
 .moin-diff-removed span{background-color:#ffff80}
 .hll { background-color: #ffffcc }
-.c { color: #408080; font-style: italic } /* Comment */
-.err { border: 1px solid #FF0000 } /* Error */
-.k { color: #008000; font-weight: bold } /* Keyword */
-.o { color: #666666 } /* Operator */
-.cm { color: #408080; font-style: italic } /* Comment.Multiline */
-.cp { color: #BC7A00 } /* Comment.Preproc */
-.c1 { color: #408080; font-style: italic } /* Comment.Single */
-.cs { color: #408080; font-style: italic } /* Comment.Special */
+.c { color: #888888 } /* Comment */
+.err { color: #FF0000; background-color: #FFAAAA } /* Error */
+.k { color: #008800; font-weight: bold } /* Keyword */
+.o { color: #333333 } /* Operator */
+.cm { color: #888888 } /* Comment.Multiline */
+.cp { color: #557799 } /* Comment.Preproc */
+.c1 { color: #888888 } /* Comment.Single */
+.cs { color: #cc0000; font-weight: bold } /* Comment.Special */
 .gd { color: #A00000 } /* Generic.Deleted */
 .ge { font-style: italic } /* Generic.Emph */
 .gr { color: #FF0000 } /* Generic.Error */
 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
 .gi { color: #00A000 } /* Generic.Inserted */
-.go { color: #808080 } /* Generic.Output */
-.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
 .gs { font-weight: bold } /* Generic.Strong */
 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.gt { color: #0040D0 } /* Generic.Traceback */
-.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.kp { color: #008000 } /* Keyword.Pseudo */
-.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.kt { color: #B00040 } /* Keyword.Type */
-.m { color: #666666 } /* Literal.Number */
-.s { color: #BA2121 } /* Literal.String */
-.na { color: #7D9029 } /* Name.Attribute */
-.nb { color: #008000 } /* Name.Builtin */
-.nc { color: #0000FF; font-weight: bold } /* Name.Class */
-.no { color: #880000 } /* Name.Constant */
-.nd { color: #AA22FF } /* Name.Decorator */
-.ni { color: #999999; font-weight: bold } /* Name.Entity */
-.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.nf { color: #0000FF } /* Name.Function */
-.nl { color: #A0A000 } /* Name.Label */
-.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.nt { color: #008000; font-weight: bold } /* Name.Tag */
-.nv { color: #19177C } /* Name.Variable */
-.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
+.gt { color: #0044DD } /* Generic.Traceback */
+.kc { color: #008800; font-weight: bold } /* Keyword.Constant */
+.kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #333399; font-weight: bold } /* Keyword.Type */
+.m { color: #6600EE; font-weight: bold } /* Literal.Number */
+.s { background-color: #fff0f0 } /* Literal.String */
+.na { color: #0000CC } /* Name.Attribute */
+.nb { color: #007020 } /* Name.Builtin */
+.nc { color: #BB0066; font-weight: bold } /* Name.Class */
+.no { color: #003366; font-weight: bold } /* Name.Constant */
+.nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.ni { color: #880000; font-weight: bold } /* Name.Entity */
+.ne { color: #FF0000; font-weight: bold } /* Name.Exception */
+.nf { color: #0066BB; font-weight: bold } /* Name.Function */
+.nl { color: #997700; font-weight: bold } /* Name.Label */
+.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.nt { color: #007700 } /* Name.Tag */
+.nv { color: #996633 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
 .w { color: #bbbbbb } /* Text.Whitespace */
-.mf { color: #666666 } /* Literal.Number.Float */
-.mh { color: #666666 } /* Literal.Number.Hex */
-.mi { color: #666666 } /* Literal.Number.Integer */
-.mo { color: #666666 } /* Literal.Number.Oct */
-.sb { color: #BA2121 } /* Literal.String.Backtick */
-.sc { color: #BA2121 } /* Literal.String.Char */
-.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.s2 { color: #BA2121 } /* Literal.String.Double */
-.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.sh { color: #BA2121 } /* Literal.String.Heredoc */
-.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.sx { color: #008000 } /* Literal.String.Other */
-.sr { color: #BB6688 } /* Literal.String.Regex */
-.s1 { color: #BA2121 } /* Literal.String.Single */
-.ss { color: #19177C } /* Literal.String.Symbol */
-.bp { color: #008000 } /* Name.Builtin.Pseudo */
-.vc { color: #19177C } /* Name.Variable.Class */
-.vg { color: #19177C } /* Name.Variable.Global */
-.vi { color: #19177C } /* Name.Variable.Instance */
-.il { color: #666666 } /* Literal.Number.Integer.Long */
+.mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
+.mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
+.mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
+.mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
+.sb { background-color: #fff0f0 } /* Literal.String.Backtick */
+.sc { color: #0044DD } /* Literal.String.Char */
+.sd { color: #DD4422 } /* Literal.String.Doc */
+.s2 { background-color: #fff0f0 } /* Literal.String.Double */
+.se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
+.sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
+.si { background-color: #eeeeee } /* Literal.String.Interpol */
+.sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */
+.sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
+.s1 { background-color: #fff0f0 } /* Literal.String.Single */
+.ss { color: #AA6600 } /* Literal.String.Symbol */
+.bp { color: #007020 } /* Name.Builtin.Pseudo */
+.vc { color: #336699 } /* Name.Variable.Class */
+.vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */
+.vi { color: #3333BB } /* Name.Variable.Instance */
+.il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
 html{color:#000;font-family:Helvetica,Arial,sans-serif}
 p{margin:1em 0;font-size:1em;line-height:1.3em}
 sub{vertical-align:sub}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Fri Jun 20 15:52:42 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Wed Jun 25 22:20:52 2014 +0530
@@ -26,8 +26,8 @@
 // moin diff styling
 @import "moin_diff"
 
-// auto-generated by pygmentize -S default -f html >pygments_default.css
-@import "pygments_default.css"
+// pygments css - colorful theme
+@import "colorful.css"
 
 html
     color font_color
--- a/make.py	Fri Jun 20 15:52:42 2014 +0530
+++ b/make.py	Wed Jun 25 22:20:52 2014 +0530
@@ -188,6 +188,12 @@
     return subprocess.check_output(command, shell=True)
 
 
+def get_pygments_data_location():
+    """Return the virtualenv site-packages/xstatic/pkg/pygments/data location."""
+    command = ACTIVATE + 'python -c "from xstatic.pkg.pygments import BASE_DIR; print BASE_DIR"'
+    return subprocess.check_output(command, shell=True)
+
+
 class Commands(object):
     """Each cmd_ method processes a choice on the menu."""
     def __init__(self):
@@ -350,10 +356,12 @@
         """run Stylus and lessc to update CSS files"""
         print 'Running Stylus to update Modernized theme CSS files...'
         # Note: we use / here to specify directory offsets; this works as used below in Windows XP, 2000, 7, 8
-        command = 'cd {0}{1}stylus --include-css --compress < main.styl > ../common.css'.format('MoinMoin/themes/modernized/static/css/stylus', SEP)
+        bootstrap_loc = get_bootstrap_data_location().strip() + '/less'
+        pygments_loc = get_pygments_data_location().strip() + '/css'
+        command = 'cd {0}{1}stylus --include {2} --include-css --compress < main.styl > ../common.css'.format('MoinMoin/themes/modernized/static/css/stylus', SEP, pygments_loc)
         result = subprocess.call(command, shell=True)
         print 'Running Stylus to update Foobar theme CSS files...'
-        command = 'cd {0}{1} stylus --include-css --compress < main.styl > ../common.css'.format('MoinMoin/themes/foobar/static/css/stylus', SEP)
+        command = 'cd {0}{1} stylus --include {2} --include-css --compress < main.styl > ../common.css'.format('MoinMoin/themes/foobar/static/css/stylus', SEP, pygments_loc)
         result2 = subprocess.call(command, shell=True)
         if result == 0 and result2 == 0:
             print 'Success: Modernized and Foobar CSS files updated.'
@@ -366,8 +374,11 @@
             print 'Error: failure running coding_std.py against modernized css files'
 
         print 'Running lessc to update Basic theme CSS files...'
-        data_loc = get_bootstrap_data_location().strip()
-        include = '--include-path=' + data_loc + '/less'
+        if WINDOWS_OS:
+            data_loc = '{0};{1}'.format(bootstrap_loc, pygments_loc)
+        else:
+            data_loc = '{0}:{1}'.format(bootstrap_loc, pygments_loc)
+        include = '--include-path=' + data_loc        
         command = 'cd MoinMoin/themes/basic/static/custom-less{0}lessc {1} basic.less ../css/basic.css'.format(SEP, include)
         result = subprocess.call(command, shell=True)
         if result == 0:
--- a/setup.py	Fri Jun 20 15:52:42 2014 +0530
+++ b/setup.py	Wed Jun 25 22:20:52 2014 +0530
@@ -113,6 +113,7 @@
         'XStatic-AnyWikiDraw>=0.14.2',
         'XStatic-svg-edit-moin>=2012.11.15.1',
         'XStatic-JQuery.TableSorter>=2.14.5.1',
+        'XStatic-Pygments>=1.6.0.1',
     ],
     # optional features and their list of requirements
     extras_require={
--- a/wikiconfig.py	Fri Jun 20 15:52:42 2014 +0530
+++ b/wikiconfig.py	Wed Jun 25 22:20:52 2014 +0530
@@ -69,6 +69,7 @@
         'autosize',
         'svgedit_moin', 'twikidraw_moin', 'anywikidraw',
         'jquery_tablesorter',
+        'pygments',
     ]
     pkg = __import__('xstatic.pkg', fromlist=mod_names)
     for mod_name in mod_names: