💄 increase font size in JB

This commit is contained in:
Nate Sesti 2024-05-14 20:12:32 -07:00
parent 78cb6a2dc2
commit 41a9fbc623

View file

@ -55,7 +55,7 @@ export function getAltKeyLabel(): string {
}
export function getFontSize(): number {
return getLocalStorage("fontSize") ?? 14;
return getLocalStorage("fontSize") ?? (isJetBrains() ? 15 : 14);
}
export function isJetBrains() {
return getLocalStorage("ide") === "jetbrains";