我使用Sketch的材料设计插件来设计我的应用程序。现在我需要设置我的应用程序主题以完全满足我的原型。颜色没有问题。但是对于文本,我看到 TextTheme 类的字段不匹配,并由插件样式生成
材料排版:
headline1
headline2
headline3
headline4
headline5
headline6
subtitle1
subtitle2
body1
body2
button
caption
overline
文本主题字段:
body1
body2
button
caption
display1
display2
display3
display4
headline
overline
subhead
subtitle
title
此处匹配的正确字段是什么?
在参考资料中找到:
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