Skip to content

Commit 6ffdde7

Browse files
committed
Make Dart constructor calls pop out in light mode. Constructors are already
nicely visible in Darkula mode.
1 parent 9476dd8 commit 6ffdde7

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

resources/META-INF/plugin.xml

+1
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@
880880
<projectStructureDetector implementation="io.flutter.project.FlutterProjectStructureDetector"/>
881881
<colorSettingsPage implementation="io.flutter.logging.FlutterLogColorPage"/>
882882
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterLogColorSchemeDefault.xml"/>
883+
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterCodeColorSchemeDefault.xml"/>
883884
<search.optionContributor implementation="io.flutter.sdk.FlutterSearchableOptionContributor"/>
884885
</extensions>
885886

resources/META-INF/plugin_template.xml

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@
298298
<projectStructureDetector implementation="io.flutter.project.FlutterProjectStructureDetector"/>
299299
<colorSettingsPage implementation="io.flutter.logging.FlutterLogColorPage"/>
300300
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterLogColorSchemeDefault.xml"/>
301+
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterCodeColorSchemeDefault.xml"/>
301302
<search.optionContributor implementation="io.flutter.sdk.FlutterSearchableOptionContributor"/>
302303
</extensions>
303304

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version='1.0'?>
2+
<!--
3+
~ Copyright 2019 The Chromium Authors. All rights reserved.
4+
~ Use of this source code is governed by a BSD-style license that can be
5+
~ found in the LICENSE file.
6+
-->
7+
8+
<list>
9+
<!--<option name="TEMPLATE_CONFIG_NAME">-->
10+
<!--<value>-->
11+
<!--<option name="FOREGROUND" value="008000"/>-->
12+
<!--<option name="BACKGROUND" value="e3fcff"/>-->
13+
<!--<option name="FONT_TYPE" value="1"/>-->
14+
<!--</value>-->
15+
<!--</option>-->
16+
17+
<!--
18+
Customizations to the regular Dart color scheme to make Flutter UI as code
19+
more readable.
20+
21+
All tweaks added here need to be acceptable for regular Dart code as they
22+
will apply to all Dart code not just Flutter code.
23+
-->
24+
<option name="DART_CONSTRUCTOR">
25+
<value>
26+
<option name="FOREGROUND" value="#76B4F0"/>
27+
</value>
28+
</option>
29+
</list>

0 commit comments

Comments
 (0)