From 4365f77f909dcaa1a44def51eb534dc937fbdf0a Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 19 Jun 2015 22:13:01 -0700 Subject: [PATCH] Add black and white constants to theme's colors. They're in the Material design color palette. This also adds a file-level dart doc comment. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1190413003. --- sdk/lib/theme/colors.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/lib/theme/colors.dart b/sdk/lib/theme/colors.dart index 658ababce..c5f666bf6 100644 --- a/sdk/lib/theme/colors.dart +++ b/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 Red = const { 50: const Color(0xFFFFEBEE), 100: const Color(0xFFFFCDD2), -- GitLab