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

Unified Diff: sky/examples/fn/widgets/toolbar.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 | « sky/examples/fn/widgets/floating_action_button.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/widgets/toolbar.dart
diff --git a/sky/examples/fn/widgets/toolbar.dart b/sky/examples/fn/widgets/toolbar.dart
index cc73040151df80a0f0c2bffbb867d67c04d3e8a8..a4afc5c1b6e4c4a1d26a7b29c33e19a8f2ec7b4e 100644
--- a/sky/examples/fn/widgets/toolbar.dart
+++ b/sky/examples/fn/widgets/toolbar.dart
@@ -9,9 +9,9 @@ class Toolbar extends Component {
align-items: center;
height: 84px;
z-index: 1;
- background-color: #9C27B0; // Purple 500
+ background-color: ${Purple[500]};
color: white;
- box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);'''
+ box-shadow: ${Shadow[2]};'''
);
Toolbar({String key, this.children}) : super(key: key);
« no previous file with comments | « sky/examples/fn/widgets/floating_action_button.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698