UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

77 lines (75 loc) • 1.79 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "fonts", { enumerable: true, get: function() { return fonts; } }); function _reactnative() { const data = require("react-native"); _reactnative = function() { return data; }; return data; } const WEB_FONT_STACK = 'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'; const fonts = _reactnative().Platform.select({ web: { regular: { fontFamily: WEB_FONT_STACK, fontWeight: '400' }, medium: { fontFamily: WEB_FONT_STACK, fontWeight: '500' }, bold: { fontFamily: WEB_FONT_STACK, fontWeight: '600' }, heavy: { fontFamily: WEB_FONT_STACK, fontWeight: '700' } }, ios: { regular: { fontFamily: 'System', fontWeight: '400' }, medium: { fontFamily: 'System', fontWeight: '500' }, bold: { fontFamily: 'System', fontWeight: '600' }, heavy: { fontFamily: 'System', fontWeight: '700' } }, default: { regular: { fontFamily: 'sans-serif', fontWeight: 'normal' }, medium: { fontFamily: 'sans-serif-medium', fontWeight: 'normal' }, bold: { fontFamily: 'sans-serif', fontWeight: '600' }, heavy: { fontFamily: 'sans-serif', fontWeight: '700' } } }); //# sourceMappingURL=fonts.js.map