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

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

Issue 1214833004: Split Size into Size and Offset. (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 | « sky/sdk/lib/rendering/stack.dart ('k') | sky/sdk/lib/widgets/basic.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/theme/shadows.dart
diff --git a/sky/sdk/lib/theme/shadows.dart b/sky/sdk/lib/theme/shadows.dart
index 4f5697fdeb663c3d5901eeef565522b5309eb95a..d163a350969428d5fdd55b9af257e1c54ca53c74 100644
--- a/sky/sdk/lib/theme/shadows.dart
+++ b/sky/sdk/lib/theme/shadows.dart
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'dart:sky' show Color, Size;
+import 'dart:sky' show Color, Offset;
import '../painting/box_painter.dart';
@@ -10,51 +10,51 @@ const Map<int, List<BoxShadow>> shadows = const {
1: const [
const BoxShadow(
color: const Color(0x1F000000),
- offset: const Size(0.0, 1.0),
+ offset: const Offset(0.0, 1.0),
blur: 3.0),
const BoxShadow(
color: const Color(0x3D000000),
- offset: const Size(0.0, 1.0),
+ offset: const Offset(0.0, 1.0),
blur: 2.0),
],
2: const [
const BoxShadow(
color: const Color(0x29000000),
- offset: const Size(0.0, 3.0),
+ offset: const Offset(0.0, 3.0),
blur: 6.0),
const BoxShadow(
color: const Color(0x3B000000),
- offset: const Size(0.0, 3.0),
+ offset: const Offset(0.0, 3.0),
blur: 6.0),
],
3: const [
const BoxShadow(
color: const Color(0x30000000),
- offset: const Size(0.0, 10.0),
+ offset: const Offset(0.0, 10.0),
blur: 20.0),
const BoxShadow(
color: const Color(0x3B000000),
- offset: const Size(0.0, 6.0),
+ offset: const Offset(0.0, 6.0),
blur: 6.0),
],
4: const [
const BoxShadow(
color: const Color(0x40000000),
- offset: const Size(0.0, 14.0),
+ offset: const Offset(0.0, 14.0),
blur: 28.0),
const BoxShadow(
color: const Color(0x38000000),
- offset: const Size(0.0, 10.0),
+ offset: const Offset(0.0, 10.0),
blur: 10.0),
],
5: const [
const BoxShadow(
color: const Color(0x4E000000),
- offset: const Size(0.0, 19.0),
+ offset: const Offset(0.0, 19.0),
blur: 28.0),
const BoxShadow(
color: const Color(0x38000000),
- offset: const Size(0.0, 15.0),
+ offset: const Offset(0.0, 15.0),
blur: 12.0),
],
};
« no previous file with comments | « sky/sdk/lib/rendering/stack.dart ('k') | sky/sdk/lib/widgets/basic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698