Index: sky/examples/stocks2/lib/stock_app.dart |
diff --git a/sky/examples/stocks2/lib/stock_app.dart b/sky/examples/stocks2/lib/stock_app.dart |
index 70e13900c933ae600f853bee9c42d1cc488ec8a6..27c15effb6461658fb72d8b2606251270fde998e 100644 |
--- a/sky/examples/stocks2/lib/stock_app.dart |
+++ b/sky/examples/stocks2/lib/stock_app.dart |
@@ -3,8 +3,12 @@ |
// found in the LICENSE file. |
import 'package:sky/rendering/sky_binding.dart'; |
+import 'package:sky/theme/colors.dart' as colors; |
+import 'package:sky/theme/theme_data.dart'; |
+import 'package:sky/theme/typography.dart' as typography; |
import 'package:sky/widgets/basic.dart'; |
import 'package:sky/widgets/navigator.dart'; |
+import 'package:sky/widgets/theme.dart'; |
import 'package:sky/widgets/widget.dart'; |
import 'stock_data.dart'; |
@@ -46,7 +50,10 @@ class StocksApp extends App { |
} |
Widget build() { |
- return new Navigator(_navigationState); |
+ return new Theme( |
+ data: new ThemeData(color: colors.Purple, text: typography.white), |
+ child: new Navigator(_navigationState) |
+ ); |
} |
} |