| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 part of trydart.themes; | |
| 6 | |
| 7 /// Default theme extracted from | |
| 8 /// editor/tools/plugins/com.google.dart.tools.deploy/themes/default.xml | |
| 9 class Theme { | |
| 10 static named(String name) { | |
| 11 if (name == null) return THEMES[0]; | |
| 12 return THEMES.firstWhere( | |
| 13 (theme) => name == theme.name, | |
| 14 orElse: () => THEMES[0]); | |
| 15 } | |
| 16 | |
| 17 const Theme(); | |
| 18 | |
| 19 String get name => 'Default'; | |
| 20 | |
| 21 Decoration get abstractMethod => const Decoration(color: '#000000'); | |
| 22 Decoration get annotation => const Decoration(color: '#000000'); | |
| 23 Decoration get background => const Decoration(color: '#ffffff'); | |
| 24 Decoration get bracket => const Decoration(color: '#000000'); | |
| 25 Decoration get builtin => const Decoration(color: '#7e0854', bold: true); | |
| 26 Decoration get className => const Decoration(color: '#000000'); | |
| 27 Decoration get commentTaskTag => const Decoration(color: '#606060'); | |
| 28 Decoration get constant => const Decoration(color: '#000000'); | |
| 29 Decoration get currentLine => const Decoration(color: '#F0F0F0'); | |
| 30 Decoration get deletionIndication => const Decoration(color: '#000000'); | |
| 31 Decoration get deprecatedMember => const Decoration(color: '#000000'); | |
| 32 Decoration get directive => const Decoration(color: '#7e0854', bold: true); | |
| 33 Decoration get dynamicType => const Decoration(color: '#000000'); | |
| 34 Decoration get enumName => const Decoration(color: '#000000'); | |
| 35 Decoration get field => const Decoration(color: '#0618bd'); | |
| 36 Decoration get filteredSearchResultIndication => | |
| 37 const Decoration(color: '#000000'); | |
| 38 Decoration get findScope => const Decoration(color: '#000000'); | |
| 39 Decoration get foreground => const Decoration(color: '#000000'); | |
| 40 Decoration get getter => const Decoration(color: '#0618bd'); | |
| 41 Decoration get inheritedMethod => const Decoration(color: '#000000'); | |
| 42 Decoration get interface => const Decoration(color: '#000000'); | |
| 43 Decoration get javadoc => const Decoration(color: '#4162bc'); | |
| 44 Decoration get javadocKeyword => const Decoration(color: '#4162bc'); | |
| 45 Decoration get javadocLink => const Decoration(color: '#4162bc'); | |
| 46 Decoration get javadocTag => const Decoration(color: '#7f809e'); | |
| 47 Decoration get keyword => const Decoration(color: '#7e0854', bold: true); | |
| 48 Decoration get keywordReturn => | |
| 49 const Decoration(color: '#7e0854', bold: true); | |
| 50 Decoration get lineNumber => const Decoration(color: '#000000'); | |
| 51 Decoration get localVariable => const Decoration(color: '#7f1cc9'); | |
| 52 Decoration get localVariableDeclaration => | |
| 53 const Decoration(color: '#7f1cc9'); | |
| 54 Decoration get method => const Decoration(color: '#000000'); | |
| 55 Decoration get methodDeclaration => | |
| 56 const Decoration(color: '#0b5bd2', bold: true); | |
| 57 Decoration get multiLineComment => const Decoration(color: '#4162bc'); | |
| 58 Decoration get multiLineString => const Decoration(color: '#2d24fb'); | |
| 59 Decoration get number => const Decoration(color: '#0c6f0e'); | |
| 60 Decoration get occurrenceIndication => const Decoration(color: '#e0e0e0'); | |
| 61 Decoration get operator => const Decoration(color: '#000000'); | |
| 62 Decoration get parameterVariable => const Decoration(color: '#87312e'); | |
| 63 Decoration get searchResultIndication => const Decoration(color: '#D0D0D0'); | |
| 64 Decoration get selectionBackground => const Decoration(color: '#b6d6fd'); | |
| 65 Decoration get selectionForeground => const Decoration(color: '#000000'); | |
| 66 Decoration get setter => const Decoration(color: '#0618bd'); | |
| 67 Decoration get singleLineComment => const Decoration(color: '#417e60'); | |
| 68 Decoration get sourceHoverBackground => const Decoration(color: '#fbfbc8'); | |
| 69 Decoration get staticField => const Decoration(color: '#0618bd'); | |
| 70 Decoration get staticFinalField => const Decoration(color: '#0618bd'); | |
| 71 Decoration get staticMethod => const Decoration(color: '#000000'); | |
| 72 Decoration get staticMethodDeclaration => | |
| 73 const Decoration(color: '#404040', bold: true); | |
| 74 Decoration get string => const Decoration(color: '#2d24fb'); | |
| 75 Decoration get typeArgument => const Decoration(color: '#033178'); | |
| 76 Decoration get typeParameter => const Decoration(color: '#033178'); | |
| 77 Decoration get writeOccurrenceIndication => | |
| 78 const Decoration(color: '#e0e0e0'); | |
| 79 } | |
| OLD | NEW |