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

Unified Diff: sky/sdk/lib/framework/theme2/typography.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports 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/lib/framework/theme2/shadows.dart ('k') | sky/sdk/lib/framework/theme2/view_configuration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/theme2/typography.dart
diff --git a/sky/sdk/lib/framework/theme2/typography.dart b/sky/sdk/lib/framework/theme2/typography.dart
deleted file mode 100644
index 5eddd9127712e40e5b3c81ac8242edf3e084e6b2..0000000000000000000000000000000000000000
--- a/sky/sdk/lib/framework/theme2/typography.dart
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// See http://www.google.com/design/spec/style/typography.html
-
-import 'dart:sky';
-
-import '../rendering/paragraph.dart';
-
-// TODO(eseidel): Font weights are supposed to be language relative!
-// These values are for English-like text.
-class _TextTheme {
- _TextTheme(Color color54, Color color87)
- : display4 = new TextStyle(fontSize: 112.0, fontWeight: FontWeight.light, color: color54),
- display3 = new TextStyle(fontSize: 56.0, fontWeight: FontWeight.regular, color: color54),
- display2 = new TextStyle(fontSize: 45.0, fontWeight: FontWeight.regular, color: color54),
- display1 = new TextStyle(fontSize: 34.0, fontWeight: FontWeight.regular, color: color54),
- headline = new TextStyle(fontSize: 24.0, fontWeight: FontWeight.regular, color: color87),
- title = new TextStyle(fontSize: 20.0, fontWeight: FontWeight.medium, color: color87),
- subhead = new TextStyle(fontSize: 16.0, fontWeight: FontWeight.regular, color: color87),
- body2 = new TextStyle(fontSize: 14.0, fontWeight: FontWeight.medium, color: color87),
- body1 = new TextStyle(fontSize: 14.0, fontWeight: FontWeight.regular, color: color87),
- caption = new TextStyle(fontSize: 12.0, fontWeight: FontWeight.regular, color: color54),
- button = new TextStyle(fontSize: 14.0, fontWeight: FontWeight.medium, color: color87);
-
- final TextStyle display4;
- final TextStyle display3;
- final TextStyle display2;
- final TextStyle display1;
- final TextStyle headline;
- final TextStyle title;
- final TextStyle subhead;
- final TextStyle body2;
- final TextStyle body1;
- final TextStyle caption;
- final TextStyle button;
-}
-
-
-final _TextTheme black = new _TextTheme(
- const Color(0xFF757575),
- const Color(0xFF212121)
-);
-
-
-final _TextTheme white = new _TextTheme(
- const Color(0xFF8A8A8A),
- const Color(0xFFDEDEDE)
-);
-
-// TODO(abarth): Maybe this should be hard-coded in Scaffold?
-const String typeface = 'font-family: sans-serif';
« no previous file with comments | « sky/sdk/lib/framework/theme2/shadows.dart ('k') | sky/sdk/lib/framework/theme2/view_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698