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

Unified Diff: sky/sdk/lib/widgets/tool_bar.dart

Issue 1218153005: Refactoring to support dark theme better (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix import issues Created 5 years, 5 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/widgets/tabs.dart ('k') | sky/tests/examples/tabs-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/tool_bar.dart
diff --git a/sky/sdk/lib/widgets/tool_bar.dart b/sky/sdk/lib/widgets/tool_bar.dart
index df2303087475db62a8cbe1d9e0690d0ab93c786a..cdc251ff07f4102250aefda9f3f20a72643d1a8b 100644
--- a/sky/sdk/lib/widgets/tool_bar.dart
+++ b/sky/sdk/lib/widgets/tool_bar.dart
@@ -54,7 +54,7 @@ class ToolBar extends Component {
),
padding: new EdgeDims.symmetric(horizontal: 8.0),
decoration: new BoxDecoration(
- backgroundColor: backgroundColor == null ? Theme.of(this).primary[500] : backgroundColor,
+ backgroundColor: backgroundColor == null ? Theme.of(this).primaryColor : backgroundColor,
boxShadow: shadows[2]
)
);
« no previous file with comments | « sky/sdk/lib/widgets/tabs.dart ('k') | sky/tests/examples/tabs-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698