@react-navigation/native
Version:
React Native integration for React Navigation
65 lines (64 loc) • 1.35 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.fonts = void 0;
var _reactNative = require("react-native");
const WEB_FONT_STACK = 'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"';
const fonts = exports.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