Skip to content

Commit

Permalink
feat: supports equal width fonts (doocs#287)
Browse files Browse the repository at this point in the history
- 加入字体新选项
- 更新示例文本以便观察区别
  • Loading branch information
YangFong authored Apr 20, 2024
1 parent b1e6a7a commit 95eb448
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/assets/scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ export default {
{
label: `无衬线`,
value: `-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif`,
desc: `Abc`,
desc: `字体123Abc`,
},
{
label: `衬线`,
value: `Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif`,
desc: `Abc`,
desc: `字体123Abc`,
},
{
label: `等宽`,
value: `Menlo, Monaco, 'Courier New', monospace`,
desc: `字体123Abc`,
},
],
sizeOption: [
Expand Down

0 comments on commit 95eb448

Please sign in to comment.