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

Side by Side Diff: sky/sdk/lib/framework/theme2/shadows.dart

Issue 1179713004: Material and RaisedButton. (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 | « sky/sdk/lib/framework/theme2/edges.dart ('k') | sky/sdk/lib/framework/widgets/button.dart » ('j') | 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 '../rendering/box.dart'; 5 import '../painting/box_painter.dart';
6 import 'dart:sky' show Color, Size; 6 import 'dart:sky' show Color, Size;
7 7
8 const Map<int, List<BoxShadow>> Shadow = const { 8 const Map<int, List<BoxShadow>> shadows = const {
9 1: const [ 9 1: const [
10 const BoxShadow( 10 const BoxShadow(
11 color: const Color(0x1F000000), 11 color: const Color(0x1F000000),
12 offset: const Size(0.0, 1.0), 12 offset: const Size(0.0, 1.0),
13 blur: 3.0), 13 blur: 3.0),
14 const BoxShadow( 14 const BoxShadow(
15 color: const Color(0x3D000000), 15 color: const Color(0x3D000000),
16 offset: const Size(0.0, 1.0), 16 offset: const Size(0.0, 1.0),
17 blur: 2.0), 17 blur: 2.0),
18 ], 18 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const BoxShadow( 50 const BoxShadow(
51 color: const Color(0x4E000000), 51 color: const Color(0x4E000000),
52 offset: const Size(0.0, 19.0), 52 offset: const Size(0.0, 19.0),
53 blur: 28.0), 53 blur: 28.0),
54 const BoxShadow( 54 const BoxShadow(
55 color: const Color(0x38000000), 55 color: const Color(0x38000000),
56 offset: const Size(0.0, 15.0), 56 offset: const Size(0.0, 15.0),
57 blur: 12.0), 57 blur: 12.0),
58 ], 58 ],
59 }; 59 };
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/theme2/edges.dart ('k') | sky/sdk/lib/framework/widgets/button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698