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

Unified Diff: sky/sdk/lib/widgets/menu_item.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/material_button.dart ('k') | sky/sdk/lib/widgets/radio.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/menu_item.dart
diff --git a/sky/sdk/lib/widgets/menu_item.dart b/sky/sdk/lib/widgets/menu_item.dart
index 6f24377116f353f6d111ecf6e801741a7029f1dd..94a17a81484f7cec869bced63db1811f95b10644 100644
--- a/sky/sdk/lib/widgets/menu_item.dart
+++ b/sky/sdk/lib/widgets/menu_item.dart
@@ -43,7 +43,7 @@ class MenuItem extends ButtonBase {
TextStyle get textStyle {
TextStyle result = Theme.of(this).text.body2;
if (highlight)
- result = result.copyWith(color: Theme.of(this).primary[500]);
+ result = result.copyWith(color: Theme.of(this).primaryColor);
return result;
}
« no previous file with comments | « sky/sdk/lib/widgets/material_button.dart ('k') | sky/sdk/lib/widgets/radio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698