Skip to content

v2.4.0

Compare
Choose a tag to compare
@amazecc amazecc released this 22 Aug 02:26
· 18 commits to main since this release
  • 生成的 css 文件中,删除字体默认大小
  • 添加 output.font.style 属性,可自定义字体样式
    (name: string) => {
        return `
            font-family: "${name}" !important;
            font-style: normal;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 1em; // 自定义样式
    
    `;
    }