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

Unified Diff: sky/sdk/lib/painting/text_style.dart

Issue 1217573003: Fix all the components to pick the right colours from the theme. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/example/widgets/tabs.dart ('k') | sky/sdk/lib/theme/typography.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/painting/text_style.dart
diff --git a/sky/sdk/lib/painting/text_style.dart b/sky/sdk/lib/painting/text_style.dart
index 4492e25167fea8106522b18cab0c90578b07094f..1ebc558fa7ca2697632c55455662dc443e5c2a27 100644
--- a/sky/sdk/lib/painting/text_style.dart
+++ b/sky/sdk/lib/painting/text_style.dart
@@ -5,15 +5,8 @@
import 'dart:sky';
enum FontWeight { w100, w200, w300, w400, w500, w600, w700, w800, w900 }
-const thin = FontWeight.w100;
-const extraLight = FontWeight.w200;
-const light = FontWeight.w300;
const normal = FontWeight.w400;
-const medium = FontWeight.w500;
-const semiBold = FontWeight.w600;
const bold = FontWeight.w700;
-const extraBold = FontWeight.w800;
-const black = FontWeight.w900;
enum TextAlign { left, right, center }
« no previous file with comments | « sky/sdk/example/widgets/tabs.dart ('k') | sky/sdk/lib/theme/typography.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698