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

Unified Diff: sky/sdk/example/stocks/lib/stock_row.dart

Issue 1212343011: improve divider appearance in dark mode (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: avoid copy pasta 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 | « no previous file | sky/sdk/lib/theme/theme_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/stocks/lib/stock_row.dart
diff --git a/sky/sdk/example/stocks/lib/stock_row.dart b/sky/sdk/example/stocks/lib/stock_row.dart
index b909731df64d1c377952324169780f0dd1707f99..57d1a65682c2790cf106ba53e3d4289dbb6353f5 100644
--- a/sky/sdk/example/stocks/lib/stock_row.dart
+++ b/sky/sdk/example/stocks/lib/stock_row.dart
@@ -53,9 +53,9 @@ class StockRow extends Component {
child: new Container(
padding: const EdgeDims(16.0, 16.0, 20.0, 16.0),
height: kHeight,
- decoration: const BoxDecoration(
- border: const Border(
- bottom: const BorderSide(color: const Color(0xFFF4F4F4))
+ decoration: new BoxDecoration(
+ border: new Border(
+ bottom: new BorderSide(color: Theme.of(this).dividerColor)
)
),
child: new Flex(children)
« no previous file with comments | « no previous file | sky/sdk/lib/theme/theme_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698