Merge lp:~cjwatson/loggerhead/pygments-2.2.0-css into lp:loggerhead

Proposed by Colin Watson on 2018-01-03
Status: Merged
Merged at revision: 492
Proposed branch: lp:~cjwatson/loggerhead/pygments-2.2.0-css
Merge into: lp:loggerhead
Diff against target: 111 lines (+48/-39)
1 file modified
loggerhead/static/css/highlight.css (+48/-39)
To merge this branch: bzr merge lp:~cjwatson/loggerhead/pygments-2.2.0-css
Reviewer Review Type Date Requested Status
Natalia Bidart (community) Approve on 2018-02-21
Loggerhead Reviewers 2018-01-03 Pending
Review via email: mp+335658@code.launchpad.net

Commit message

Update highlight.css to Pygments 2.2.0.

Description of the change

This is still compatible with previous versions. I generated it as follows:

  from pygments.formatters import HtmlFormatter
  print(HtmlFormatter(
      style='colorful', nowrap=True, classprefix='pyg-').get_style_defs())

To post a comment you must log in.
Natalia Bidart (nataliabidart) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'loggerhead/static/css/highlight.css'
--- loggerhead/static/css/highlight.css 2009-03-01 20:16:18 +0000
+++ loggerhead/static/css/highlight.css 2018-01-03 13:40:35 +0000
@@ -1,59 +1,68 @@
1.pyg-c { color: #808080 } /* Comment */1.hll { background-color: #ffffcc }
2.pyg-err { color: #F00000; background-color: #F0A0A0 } /* Error */2.pyg-c { color: #888888 } /* Comment */
3.pyg-k { color: #008000; font-weight: bold } /* Keyword */3.pyg-err { color: #FF0000; background-color: #FFAAAA } /* Error */
4.pyg-o { color: #303030 } /* Operator */4.pyg-k { color: #008800; font-weight: bold } /* Keyword */
5.pyg-cm { color: #808080 } /* Comment.Multiline */5.pyg-o { color: #333333 } /* Operator */
6.pyg-cp { color: #507090 } /* Comment.Preproc */6.pyg-ch { color: #888888 } /* Comment.Hashbang */
7.pyg-c1 { color: #808080 } /* Comment.Single */7.pyg-cm { color: #888888 } /* Comment.Multiline */
8.pyg-cp { color: #557799 } /* Comment.Preproc */
9.pyg-cpf { color: #888888 } /* Comment.PreprocFile */
10.pyg-c1 { color: #888888 } /* Comment.Single */
8.pyg-cs { color: #cc0000; font-weight: bold } /* Comment.Special */11.pyg-cs { color: #cc0000; font-weight: bold } /* Comment.Special */
9.pyg-gd { color: #A00000 } /* Generic.Deleted */12.pyg-gd { color: #A00000 } /* Generic.Deleted */
10.pyg-ge { font-style: italic } /* Generic.Emph */13.pyg-ge { font-style: italic } /* Generic.Emph */
11.pyg-gr { color: #FF0000 } /* Generic.Error */14.pyg-gr { color: #FF0000 } /* Generic.Error */
12.pyg-gh { color: #000080; font-weight: bold } /* Generic.Heading */15.pyg-gh { color: #000080; font-weight: bold } /* Generic.Heading */
13.pyg-gi { color: #00A000 } /* Generic.Inserted */16.pyg-gi { color: #00A000 } /* Generic.Inserted */
14.pyg-go { color: #808080 } /* Generic.Output */17.pyg-go { color: #888888 } /* Generic.Output */
15.pyg-gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */18.pyg-gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
16.pyg-gs { font-weight: bold } /* Generic.Strong */19.pyg-gs { font-weight: bold } /* Generic.Strong */
17.pyg-gu { color: #800080; font-weight: bold } /* Generic.Subheading */20.pyg-gu { color: #800080; font-weight: bold } /* Generic.Subheading */
18.pyg-gt { color: #0040D0 } /* Generic.Traceback */21.pyg-gt { color: #0044DD } /* Generic.Traceback */
19.pyg-kc { color: #008000; font-weight: bold } /* Keyword.Constant */22.pyg-kc { color: #008800; font-weight: bold } /* Keyword.Constant */
20.pyg-kd { color: #008000; font-weight: bold } /* Keyword.Declaration */23.pyg-kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
21.pyg-kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */24.pyg-kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
22.pyg-kr { color: #008000; font-weight: bold } /* Keyword.Reserved */25.pyg-kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */
23.pyg-kt { color: #303090; font-weight: bold } /* Keyword.Type */26.pyg-kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
24.pyg-m { color: #6000E0; font-weight: bold } /* Literal.Number */27.pyg-kt { color: #333399; font-weight: bold } /* Keyword.Type */
28.pyg-m { color: #6600EE; font-weight: bold } /* Literal.Number */
25.pyg-s { background-color: #fff0f0 } /* Literal.String */29.pyg-s { background-color: #fff0f0 } /* Literal.String */
26.pyg-na { color: #0000C0 } /* Name.Attribute */30.pyg-na { color: #0000CC } /* Name.Attribute */
27.pyg-nb { color: #007020 } /* Name.Builtin */31.pyg-nb { color: #007020 } /* Name.Builtin */
28.pyg-nc { color: #B00060; font-weight: bold } /* Name.Class */32.pyg-nc { color: #BB0066; font-weight: bold } /* Name.Class */
29.pyg-no { color: #003060; font-weight: bold } /* Name.Constant */33.pyg-no { color: #003366; font-weight: bold } /* Name.Constant */
30.pyg-nd { color: #505050; font-weight: bold } /* Name.Decorator */34.pyg-nd { color: #555555; font-weight: bold } /* Name.Decorator */
31.pyg-ni { color: #800000; font-weight: bold } /* Name.Entity */35.pyg-ni { color: #880000; font-weight: bold } /* Name.Entity */
32.pyg-ne { color: #F00000; font-weight: bold } /* Name.Exception */36.pyg-ne { color: #FF0000; font-weight: bold } /* Name.Exception */
33.pyg-nf { color: #0060B0; font-weight: bold } /* Name.Function */37.pyg-nf { color: #0066BB; font-weight: bold } /* Name.Function */
34.pyg-nl { color: #907000; font-weight: bold } /* Name.Label */38.pyg-nl { color: #997700; font-weight: bold } /* Name.Label */
35.pyg-nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */39.pyg-nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
36.pyg-nt { color: #007000 } /* Name.Tag */40.pyg-nt { color: #007700 } /* Name.Tag */
37.pyg-nv { color: #906030 } /* Name.Variable */41.pyg-nv { color: #996633 } /* Name.Variable */
38.pyg-ow { color: #000000; font-weight: bold } /* Operator.Word */42.pyg-ow { color: #000000; font-weight: bold } /* Operator.Word */
39.pyg-w { color: #bbbbbb } /* Text.Whitespace */43.pyg-w { color: #bbbbbb } /* Text.Whitespace */
40.pyg-mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */44.pyg-mb { color: #6600EE; font-weight: bold } /* Literal.Number.Bin */
41.pyg-mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */45.pyg-mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
42.pyg-mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */46.pyg-mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
43.pyg-mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */47.pyg-mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
48.pyg-mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
49.pyg-sa { background-color: #fff0f0 } /* Literal.String.Affix */
44.pyg-sb { background-color: #fff0f0 } /* Literal.String.Backtick */50.pyg-sb { background-color: #fff0f0 } /* Literal.String.Backtick */
45.pyg-sc { color: #0040D0 } /* Literal.String.Char */51.pyg-sc { color: #0044DD } /* Literal.String.Char */
46.pyg-sd { color: #D04020 } /* Literal.String.Doc */52.pyg-dl { background-color: #fff0f0 } /* Literal.String.Delimiter */
53.pyg-sd { color: #DD4422 } /* Literal.String.Doc */
47.pyg-s2 { background-color: #fff0f0 } /* Literal.String.Double */54.pyg-s2 { background-color: #fff0f0 } /* Literal.String.Double */
48.pyg-se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */55.pyg-se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
49.pyg-sh { background-color: #fff0f0 } /* Literal.String.Heredoc */56.pyg-sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
50.pyg-si { background-color: #e0e0e0 } /* Literal.String.Interpol */57.pyg-si { background-color: #eeeeee } /* Literal.String.Interpol */
51.pyg-sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */58.pyg-sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */
52.pyg-sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */59.pyg-sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
53.pyg-s1 { background-color: #fff0f0 } /* Literal.String.Single */60.pyg-s1 { background-color: #fff0f0 } /* Literal.String.Single */
54.pyg-ss { color: #A06000 } /* Literal.String.Symbol */61.pyg-ss { color: #AA6600 } /* Literal.String.Symbol */
55.pyg-bp { color: #007020 } /* Name.Builtin.Pseudo */62.pyg-bp { color: #007020 } /* Name.Builtin.Pseudo */
56.pyg-vc { color: #306090 } /* Name.Variable.Class */63.pyg-fm { color: #0066BB; font-weight: bold } /* Name.Function.Magic */
57.pyg-vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */64.pyg-vc { color: #336699 } /* Name.Variable.Class */
58.pyg-vi { color: #3030B0 } /* Name.Variable.Instance */65.pyg-vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */
59.pyg-il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */66.pyg-vi { color: #3333BB } /* Name.Variable.Instance */
67.pyg-vm { color: #996633 } /* Name.Variable.Magic */
68.pyg-il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */

Subscribers

People subscribed via source and target branches