OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // These styles come from https://github.com/dart-lang/dartlang.org/blob/master/
src/site/scss/_syntax.scss. | |
6 .highlight { | 5 .highlight { |
7 .c { color: #999988; font-style: italic } // Comment | 6 .c { color: #999988; font-style: italic } // Comment |
8 .err { color: #a61717; background-color: #e3d2d2 } // Error | 7 .err { color: #a61717; background-color: #e3d2d2 } // Error |
9 .k { font-weight: bold } // Keyword | 8 .k { font-weight: bold } // Keyword |
10 .o { font-weight: bold } // Operator | 9 .o { font-weight: bold } // Operator |
11 .cm { color: #999988; font-style: italic } // Comment.Multiline | 10 .cm { color: #999988; font-style: italic } // Comment.Multiline |
12 .cp { color: #999999; font-weight: bold } // Comment.Preproc | 11 .cp { color: #999999; font-weight: bold } // Comment.Preproc |
13 .c1 { color: #999988; font-style: italic } // Comment.Single | 12 .c1 { color: #999988; font-style: italic } // Comment.Single |
14 .cs { color: #999999; font-weight: bold; font-style: italic } // Comment.Speci
al | 13 .cs { color: #999999; font-weight: bold; font-style: italic } // Comment.Speci
al |
15 .gd { color: #000000; background-color: #ffdddd } // Generic.Deleted | 14 .gd { color: #000000; background-color: #ffdddd } // Generic.Deleted |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 .sx { color: #d14 } // Literal.String.Other | 56 .sx { color: #d14 } // Literal.String.Other |
58 .sr { color: #009926 } // Literal.String.Regex | 57 .sr { color: #009926 } // Literal.String.Regex |
59 .s1 { color: #d14 } // Literal.String.Single | 58 .s1 { color: #d14 } // Literal.String.Single |
60 .ss { color: #990073 } // Literal.String.Symbol | 59 .ss { color: #990073 } // Literal.String.Symbol |
61 .bp { color: #999999 } // Name.Builtin.Pseudo | 60 .bp { color: #999999 } // Name.Builtin.Pseudo |
62 .vc { color: #008080 } // Name.Variable.Class | 61 .vc { color: #008080 } // Name.Variable.Class |
63 .vg { color: #008080 } // Name.Variable.Global | 62 .vg { color: #008080 } // Name.Variable.Global |
64 .vi { color: #008080 } // Name.Variable.Instance | 63 .vi { color: #008080 } // Name.Variable.Instance |
65 .il { color: #009999 } // Literal.Number.Integer.Long | 64 .il { color: #009999 } // Literal.Number.Integer.Long |
66 } | 65 } |
OLD | NEW |