Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: sky/sdk/lib/theme/theme_data.dart

Issue 1232313002: Use package:sky imports consistently (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix BUILD.gn Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/theme/shadows.dart ('k') | sky/sdk/lib/theme/typography.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/theme/theme_data.dart
diff --git a/sky/sdk/lib/theme/theme_data.dart b/sky/sdk/lib/theme/theme_data.dart
index 288372e8797493b465c3d5e1b76e3ccc8486aa57..0043ee132bb4b6c3354325f54f1daec5424ddf9a 100644
--- a/sky/sdk/lib/theme/theme_data.dart
+++ b/sky/sdk/lib/theme/theme_data.dart
@@ -4,8 +4,8 @@
import 'dart:sky';
-import 'typography.dart' as typography;
-import 'colors.dart' as colors;
+import 'package:sky/theme/typography.dart' as typography;
+import 'package:sky/theme/colors.dart' as colors;
enum ThemeBrightness { dark, light }
@@ -35,7 +35,7 @@ class ThemeData {
} else {
_primaryColor = primarySwatch[500];
}
-
+
if (accentColor == null) {
_accentColor = primarySwatch == null ? colors.Blue[500] : primarySwatch[500];
} else {
@@ -58,7 +58,7 @@ class ThemeData {
Color get primaryColor => _primaryColor;
final ThemeBrightness primaryColorBrightness;
-
+
Color _accentColor;
Color get accentColor => _accentColor;
« no previous file with comments | « sky/sdk/lib/theme/shadows.dart ('k') | sky/sdk/lib/theme/typography.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698