UNPKG

@hc.ds/mobile

Version:
100 lines (99 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextTheme = exports.FontWeight = exports.FontSize = void 0; var _reactNative = require("react-native"); var _Colors = require("../Colors"); const TextTheme = exports.TextTheme = _reactNative.StyleSheet.create({ common: { // fontFamily: 'Poppins-400', }, standard: { color: _Colors.Colors.text }, primary: { color: _Colors.Colors.primary[100] }, success: { color: _Colors.Colors.success[100] }, danger: { color: _Colors.Colors.danger[100] }, warning: { color: _Colors.Colors.warning[100] }, gray: { color: _Colors.Colors.mid }, muted: { color: _Colors.Colors.light }, weak: { color: _Colors.Colors.weak }, white: { color: _Colors.Colors.white }, black: { color: _Colors.Colors.black } }); const FontSize = exports.FontSize = _reactNative.StyleSheet.create({ 11: { fontSize: 11, lineHeight: 11 * 1.4 }, 12: { fontSize: 12, lineHeight: 12 * 1.4 }, 14: { fontSize: 14, lineHeight: 14 * 1.4 }, 15: { fontSize: 15, lineHeight: 15 * 1.4 }, 16: { fontSize: 16, lineHeight: 16 * 1.4 }, 17: { fontSize: 17, lineHeight: 17 * 1.4 }, 18: { fontSize: 18, lineHeight: 18 * 1.4 }, 24: { fontSize: 24, lineHeight: 24 * 1.4 }, 32: { fontSize: 32, lineHeight: 32 * 1.4 } }); const FontWeight = exports.FontWeight = _reactNative.StyleSheet.create({ 400: { fontFamily: 'Poppins-400', fontWeight: '400' }, 500: { fontFamily: 'Poppins-500', fontWeight: '500' }, 600: { fontFamily: 'Poppins-600', fontWeight: '600' }, 700: { fontFamily: 'Poppins-700', fontWeight: '700' } }); //# sourceMappingURL=theme.js.map