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

Unified Diff: sky/sdk/lib/framework/theme/colors.dart

Issue 1157243012: Fork theme to theme2 and use sky.Color types directly. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/BUILD.gn ('k') | sky/sdk/lib/framework/theme2/colors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/theme/colors.dart
diff --git a/sky/sdk/lib/framework/theme/colors.dart b/sky/sdk/lib/framework/theme/colors.dart
index 73f2c1974b01d6c453a26a1fe8b907815b1ca87d..6fbe5a37ed06fa7ea767a88ea8f10c8166812981 100644
--- a/sky/sdk/lib/framework/theme/colors.dart
+++ b/sky/sdk/lib/framework/theme/colors.dart
@@ -249,8 +249,4 @@ const Map<int, String> BlueGrey = const {
700: '#455A64',
800: '#37474F',
900: '#263238',
-};
-
-sky.Color colorFromCSSHexColorString(String colorString) {
- return new sky.Color(int.parse("FF" + colorString.substring(1), radix: 16));
-}
+};
« no previous file with comments | « sky/sdk/BUILD.gn ('k') | sky/sdk/lib/framework/theme2/colors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698