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

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

Issue 1190413003: Add black and white constants to theme's colors. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/theme/colors.dart
diff --git a/sky/sdk/lib/theme/colors.dart b/sky/sdk/lib/theme/colors.dart
index 658ababcef09435df47b28035d32e28714345c18..c5f666bf65b2de3af9b2cb11d2520ab48763afbf 100644
--- a/sky/sdk/lib/theme/colors.dart
+++ b/sky/sdk/lib/theme/colors.dart
@@ -4,6 +4,12 @@
import 'dart:sky' show Color;
+/// [Color] constants which represent Material design's
+/// [color palette](http://www.google.com/design/spec/style/color.html).
+
+const White = const Color(0xFFFFFFFF);
+const Black = const Color(0x00000000);
+
const Map<int, Color> Red = const {
50: const Color(0xFFFFEBEE),
100: const Color(0xFFFFCDD2),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698