MCPcopy Create free account
hub / github.com/experdot/pointer / getFontSize

Function getFontSize

src/renderer/src/App.tsx:14–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13 // 根据字体大小设置获取基础字号
14 const getFontSize = () => {
15 switch (settings.fontSize) {
16 case 'small':
17 return 12
18 case 'large':
19 return 16
20 case 'medium':
21 default:
22 return 14
23 }
24 }
25
26 return (
27 <ConfigProvider

Callers 1

AppContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected