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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:sky' show Color; 5 import 'dart:sky' show Color;
6 6
7 /// [Color] constants which represent Material design's
8 /// [color palette](http://www.google.com/design/spec/style/color.html).
9
10 const White = const Color(0xFFFFFFFF);
11 const Black = const Color(0x00000000);
12
7 const Map<int, Color> Red = const { 13 const Map<int, Color> Red = const {
8 50: const Color(0xFFFFEBEE), 14 50: const Color(0xFFFFEBEE),
9 100: const Color(0xFFFFCDD2), 15 100: const Color(0xFFFFCDD2),
10 200: const Color(0xFFEF9A9A), 16 200: const Color(0xFFEF9A9A),
11 300: const Color(0xFFE57373), 17 300: const Color(0xFFE57373),
12 400: const Color(0xFFEF5350), 18 400: const Color(0xFFEF5350),
13 500: const Color(0xFFF44336), 19 500: const Color(0xFFF44336),
14 600: const Color(0xFFE53935), 20 600: const Color(0xFFE53935),
15 700: const Color(0xFFD32F2F), 21 700: const Color(0xFFD32F2F),
16 800: const Color(0xFFC62828), 22 800: const Color(0xFFC62828),
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 100: const Color(0xFFCFD8DC), 250 100: const Color(0xFFCFD8DC),
245 200: const Color(0xFFB0BEC5), 251 200: const Color(0xFFB0BEC5),
246 300: const Color(0xFF90A4AE), 252 300: const Color(0xFF90A4AE),
247 400: const Color(0xFF78909C), 253 400: const Color(0xFF78909C),
248 500: const Color(0xFF607D8B), 254 500: const Color(0xFF607D8B),
249 600: const Color(0xFF546E7A), 255 600: const Color(0xFF546E7A),
250 700: const Color(0xFF455A64), 256 700: const Color(0xFF455A64),
251 800: const Color(0xFF37474F), 257 800: const Color(0xFF37474F),
252 900: const Color(0xFF263238), 258 900: const Color(0xFF263238),
253 }; 259 };
OLDNEW
« 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