【文件属性】:
文件名称:css-font-weight-names:CSS字体粗细名称的JSON对象映射到其数字字体粗细值
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-26 13:26:24
CSS字体粗细名称
具有所有CSS字体粗细名称的JSON对象,它们映射到它们的数值。
用法
var fontweights = require ( 'css-font-weight-names' ) ;
console . dir ( fontweights ) ;
产量
{
" thin " : 100 ,
" extralight " : 200 ,
" ultralight " : 200 ,
" light " : 300 ,
" book " : 400 ,
...
}
此列表是从的部分生成的。
这些值形成一个有序的序列,其中每个数字表示的权重至少与其前身一样暗。 这些大致对应于以下常用的重量名称:
100-薄
200-特轻,超轻
300-轻型
400-普通,书籍,普通
500-中
600- Semi Bold , Demi B
【文件预览】:
css-font-weight-names-master
----css-font-weight-names.json(267B)
----LICENSE.md(1KB)
----README.md(2KB)
----.gitignore(13B)
----CHANGELOG.md(228B)
----package.json(614B)