Commit 7f705336 authored by Eric Seidel's avatar Eric Seidel

Fork theme to theme2 and use sky.Color types directly.

This also works around an Android-only crasher for the Dart VM:
https://github.com/domokit/mojo/issues/192

R=ianh@google.com

Review URL: https://codereview.chromium.org/1157243012
parent fef65fc4
......@@ -16,8 +16,8 @@ import 'package:sky/framework/components2/icon_button.dart';
// import 'package:sky/framework/components2/radio.dart';
import 'package:sky/framework/components2/scaffold.dart';
import 'package:sky/framework/fn2.dart';
import 'package:sky/framework/theme/typography.dart' as typography;
import 'package:sky/framework/theme/colors.dart';
import 'package:sky/framework/theme2/typography.dart' as typography;
import 'package:sky/framework/theme2/colors.dart' as colors;
import 'stock_data.dart';
import 'package:sky/framework/rendering/box.dart';
// import 'stock_list.dart';
......@@ -173,7 +173,7 @@ class StocksApp extends App {
icon: 'navigation/more_vert_white',
onGestureTap: _handleMenuShow)
],
backgroundColor: colorFromCSSHexColorString(Purple[500])
backgroundColor: colors.Purple[500]
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment