深色模式
配置参考
在 npm 全局模块安装目录的 node_modules/zsft/ 目录下编辑 config.json 以配置 zsft 的默认行为。
可以执行 npm root -g 获取全局模块安装目录的位置。
CAUTION
当重新安装或更新 ZSFT CLI 时,原 config.json 文件会被覆盖,请注意保留副本。
defaultSubset
当执行 zsft -m / zsft --min 时,所使用的默认子集化字符集。
json
{
"defaultSubset": "Hello World"
}online
使 zsft split 命令的 CSS 注释输出和 ZSFT FontsAPI 保持一致。
json
{
"online": true
}