CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
typography.ts
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| c53cf00 | 1 | import { Platform } from 'react-native'; |
| 2 | ||
| 3 | export const fonts = { | |
| 4 | mono: Platform.select({ | |
| 5 | ios: 'Menlo', | |
| 6 | android: 'monospace', | |
| 7 | default: 'monospace', | |
| 8 | }), | |
| 9 | sans: Platform.select({ | |
| 10 | ios: 'System', | |
| 11 | android: 'Roboto', | |
| 12 | default: 'System', | |
| 13 | }), | |
| 14 | }; | |
| 15 | ||
| 16 | export const fontSizes = { | |
| 17 | xs: 11, | |
| 18 | sm: 13, | |
| 19 | base: 15, | |
| 20 | md: 17, | |
| 21 | lg: 20, | |
| 22 | xl: 24, | |
| 23 | xxl: 30, | |
| 24 | }; | |
| 25 | ||
| 26 | export const fontWeights = { | |
| 27 | regular: '400' as const, | |
| 28 | medium: '500' as const, | |
| 29 | semibold: '600' as const, | |
| 30 | bold: '700' as const, | |
| 31 | }; | |
| 32 | ||
| 33 | export const lineHeights = { | |
| 34 | tight: 1.3, | |
| 35 | normal: 1.5, | |
| 36 | relaxed: 1.75, | |
| 37 | }; |