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

Unified Diff: sky/examples/fn/widgets/drawer.dart

Issue 983733003: Add constants for material colors and shadows (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | sky/examples/fn/widgets/drawerheader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/widgets/drawer.dart
diff --git a/sky/examples/fn/widgets/drawer.dart b/sky/examples/fn/widgets/drawer.dart
index 26edbb2f07d6b6ade11d5f86552f51ab5d3f07f2..ab7277d64e0c86dccbffa16418d39b13aca55c85 100644
--- a/sky/examples/fn/widgets/drawer.dart
+++ b/sky/examples/fn/widgets/drawer.dart
@@ -103,7 +103,7 @@ class Drawer extends Component {
left: 0;
bottom: 0;
right: 0;
- box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);'''
+ box-shadpw: ${Shadow[3]};'''
);
static Style _maskStyle = new Style('''
@@ -117,7 +117,7 @@ class Drawer extends Component {
);
static Style _contentStyle = new Style('''
- background-color: #FAFAFA;
+ background-color: ${Grey[50]};
will-change: transform;
position: absolute;
z-index: 3;
« no previous file with comments | « no previous file | sky/examples/fn/widgets/drawerheader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698