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

Unified Diff: sky/sdk/lib/widgets/tabs.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/switch.dart ('k') | sky/sdk/lib/widgets/tool_bar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/tabs.dart
diff --git a/sky/sdk/lib/widgets/tabs.dart b/sky/sdk/lib/widgets/tabs.dart
index f66d0ee22253a73bd0ada7af01389a6c1dc92d4e..f621ff2069bd6bac44b587de8249e364225b7e65 100644
--- a/sky/sdk/lib/widgets/tabs.dart
+++ b/sky/sdk/lib/widgets/tabs.dart
@@ -295,8 +295,8 @@ class TabBar extends Component {
return new TabBarWrapper(
children: tabs,
selectedIndex: selectedIndex,
- backgroundColor: Theme.of(this).primary[500],
- indicatorColor: Theme.of(this).accent[200],
+ backgroundColor: Theme.of(this).primaryColor,
+ indicatorColor: Theme.of(this).accentColor,
textAndIcons: textAndIcons
);
}
« no previous file with comments | « sky/sdk/lib/widgets/switch.dart ('k') | sky/sdk/lib/widgets/tool_bar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698