()
| 38 | } |
| 39 | |
| 40 | export function getAltKeyLabel(): string { |
| 41 | const platform = getPlatform(); |
| 42 | switch (platform) { |
| 43 | case "mac": |
| 44 | return "⌥"; |
| 45 | default: |
| 46 | return "Alt"; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | export function getFontSize(): number { |
| 51 | return getLocalStorage("fontSize") ?? (isJetBrains() ? 15 : 14); |
no test coverage detected