TextTheme字段与Sketch Project文本样式不匹配

时间:2019-02-04 12:04:14

标签: flutter material-design sketch-3

我使用Sketch的材质设计插件来设计我的应用。现在,我需要设置我的应用主题以完全满足我的原型。颜色没有问题。但是对于文本,我看到TextTheme类的字段不匹配并且由插件样式生成

材料排版:

headline1
headline2
headline3
headline4
headline5
headline6
subtitle1
subtitle2
body1
body2
button
caption
overline

TextTheme字段:

body1
body2
button
caption
display1
display2
display3
display4
headline
overline
subhead
subtitle
title

这里匹配的正确字段是什么?

1 个答案:

答案 0 :(得分:0)

reference中找到:

NAME       SIZE   WEIGHT   SPACING  2018 NAME
display4   112.0  thin     0.0      headline1
display3   56.0   normal   0.0      headline2
display2   45.0   normal   0.0      headline3
display1   34.0   normal   0.0      headline4
headline   24.0   normal   0.0      headline5
title      20.0   medium   0.0      headline6
subhead    16.0   normal   0.0      subtitle1
body2      14.0   medium   0.0      body1
body1      14.0   normal   0.0      body2
caption    12.0   normal   0.0      caption
button     14.0   medium   0.0      button
subtitle   14.0   medium   0.0      subtitle2
overline   10.0   normal   0.0      overline