0.0.1 • Published 6 months ago
@zartui/number-font v0.0.1
ZartUI Number Font
Install
# with npm
npm i @zartui/number-font
# with yarn
yarn add @zartui/number-font
# with pnpm
pnpm add @zartui/number-font
Usage
- 直接引入css文件,在样式文件中使用字体变量名
# app.less
@import '@zartui/number-font/index.css';
.font-family-name {
/* 等宽 */
font-family: var(--zt-font-family-number);
/* 极窄 */
font-family: var(--zt-font-family-number-condensed);
/* 斜体 */
font-family: var(--zt-font-family-number-italic);
}
0.0.1
6 months ago