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

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

Issue 1189483007: Pared the FontWeight constants down to normal and bold. 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 | « no previous file | no next file » | 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 d45929991b6007fb77c11a8b16e15cd62d4e933e..0efc55110c35c22a16b8b18996b167a67adb9c3d 100644
--- a/sky/sdk/lib/painting/text_style.dart
+++ b/sky/sdk/lib/painting/text_style.dart
@@ -16,15 +16,8 @@ enum FontWeight {
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698