Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update web font families def (#5749)

authored by

Eric Bailey and committed by
GitHub
db7b875c 432dc867

+3 -3
+3 -3
src/alf/fonts.ts
··· 4 4 import {isWeb} from '#/platform/detection' 5 5 import {Device, device} from '#/storage' 6 6 7 - const FAMILIES = `-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Liberation Sans", Helvetica, Arial, sans-serif` 7 + const WEB_FONT_FAMILIES = `system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"` 8 8 9 9 const factor = 0.0625 // 1 - (15/16) 10 10 const fontScaleMultipliers: Record<Device['fontScale'], number> = { ··· 48 48 49 49 // fallback families only supported on web 50 50 if (isWeb) { 51 - style.fontFamily += `, ${FAMILIES}` 51 + style.fontFamily += `, ${WEB_FONT_FAMILIES}` 52 52 } 53 53 54 54 /** ··· 59 59 } else { 60 60 // fallback families only supported on web 61 61 if (isWeb) { 62 - style.fontFamily = style.fontFamily || FAMILIES 62 + style.fontFamily = style.fontFamily || WEB_FONT_FAMILIES 63 63 } 64 64 65 65 /**