Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4fae8dfb
Commit
4fae8dfb
authored
Mar 30, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3008 from abarth/rm_text_height
These height values are incorrect
parents
483ab048
bf31cf1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
typography.dart
packages/flutter/lib/src/material/typography.dart
+15
-15
No files found.
packages/flutter/lib/src/material/typography.dart
View file @
4fae8dfb
...
...
@@ -19,28 +19,28 @@ class TextTheme {
const
TextTheme
.
_black
()
:
display4
=
const
TextStyle
(
inherit:
false
,
fontSize:
112.0
,
fontWeight:
FontWeight
.
w100
,
color:
Colors
.
black54
,
textBaseline:
TextBaseline
.
alphabetic
),
display3
=
const
TextStyle
(
inherit:
false
,
fontSize:
56.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
textBaseline:
TextBaseline
.
alphabetic
),
display2
=
const
TextStyle
(
inherit:
false
,
fontSize:
45.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
height:
48.0
/
45.0
,
textBaseline:
TextBaseline
.
alphabetic
),
display1
=
const
TextStyle
(
inherit:
false
,
fontSize:
34.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
height:
40.0
/
34.0
,
textBaseline:
TextBaseline
.
alphabetic
),
headline
=
const
TextStyle
(
inherit:
false
,
fontSize:
24.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
height:
32.0
/
24.0
,
textBaseline:
TextBaseline
.
alphabetic
),
title
=
const
TextStyle
(
inherit:
false
,
fontSize:
20.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
black87
,
height:
28.0
/
20.0
,
textBaseline:
TextBaseline
.
alphabetic
),
subhead
=
const
TextStyle
(
inherit:
false
,
fontSize:
16.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
height:
24.0
/
16.0
,
textBaseline:
TextBaseline
.
alphabetic
),
body2
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
black87
,
height:
24.0
/
14.0
,
textBaseline:
TextBaseline
.
alphabetic
),
body1
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
height:
20.0
/
14.0
,
textBaseline:
TextBaseline
.
alphabetic
),
display2
=
const
TextStyle
(
inherit:
false
,
fontSize:
45.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
textBaseline:
TextBaseline
.
alphabetic
),
display1
=
const
TextStyle
(
inherit:
false
,
fontSize:
34.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
textBaseline:
TextBaseline
.
alphabetic
),
headline
=
const
TextStyle
(
inherit:
false
,
fontSize:
24.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
),
title
=
const
TextStyle
(
inherit:
false
,
fontSize:
20.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
),
subhead
=
const
TextStyle
(
inherit:
false
,
fontSize:
16.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
),
body2
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
),
body1
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
),
caption
=
const
TextStyle
(
inherit:
false
,
fontSize:
12.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
black54
,
textBaseline:
TextBaseline
.
alphabetic
),
button
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
black87
,
textBaseline:
TextBaseline
.
alphabetic
);
const
TextTheme
.
_white
()
:
display4
=
const
TextStyle
(
inherit:
false
,
fontSize:
112.0
,
fontWeight:
FontWeight
.
w100
,
color:
Colors
.
white70
,
textBaseline:
TextBaseline
.
alphabetic
),
display3
=
const
TextStyle
(
inherit:
false
,
fontSize:
56.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
textBaseline:
TextBaseline
.
alphabetic
),
display2
=
const
TextStyle
(
inherit:
false
,
fontSize:
45.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
height:
48.0
/
45.0
,
textBaseline:
TextBaseline
.
alphabetic
),
display1
=
const
TextStyle
(
inherit:
false
,
fontSize:
34.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
height:
40.0
/
34.0
,
textBaseline:
TextBaseline
.
alphabetic
),
headline
=
const
TextStyle
(
inherit:
false
,
fontSize:
24.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
height:
32.0
/
24.0
,
textBaseline:
TextBaseline
.
alphabetic
),
title
=
const
TextStyle
(
inherit:
false
,
fontSize:
20.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
height:
28.0
/
20.0
,
textBaseline:
TextBaseline
.
alphabetic
),
subhead
=
const
TextStyle
(
inherit:
false
,
fontSize:
16.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
height:
24.0
/
16.0
,
textBaseline:
TextBaseline
.
alphabetic
),
body2
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
height:
24.0
/
14.0
,
textBaseline:
TextBaseline
.
alphabetic
),
body1
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
height:
20.0
/
14.0
,
textBaseline:
TextBaseline
.
alphabetic
),
display2
=
const
TextStyle
(
inherit:
false
,
fontSize:
45.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
textBaseline:
TextBaseline
.
alphabetic
),
display1
=
const
TextStyle
(
inherit:
false
,
fontSize:
34.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
textBaseline:
TextBaseline
.
alphabetic
),
headline
=
const
TextStyle
(
inherit:
false
,
fontSize:
24.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
),
title
=
const
TextStyle
(
inherit:
false
,
fontSize:
20.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
),
subhead
=
const
TextStyle
(
inherit:
false
,
fontSize:
16.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
),
body2
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
),
body1
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
),
caption
=
const
TextStyle
(
inherit:
false
,
fontSize:
12.0
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
textBaseline:
TextBaseline
.
alphabetic
),
button
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
);
button
=
const
TextStyle
(
inherit:
false
,
fontSize:
14.0
,
fontWeight:
FontWeight
.
w500
,
color:
Colors
.
white
,
textBaseline:
TextBaseline
.
alphabetic
);
final
TextStyle
display4
;
final
TextStyle
display3
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment