UNPKG

react-native-ethiopian-calendar

Version:

A react native calendar component which is mainly intended for applications which require Ethiopian calendar.

43 lines 1.16 kB
import * as defaultStyle from '../../../styles'; import { StyleSheet } from 'react-native'; export const makeStyle = function () { let theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const mergedStyles = { ...defaultStyle, ...theme }; return StyleSheet.create({ day: { width: '14.2857143%', justifyContent: 'center', alignItems: 'center', paddingVertical: 11, height: 50 }, dayText: { fontSize: mergedStyles.textDayFontSize, fontFamily: mergedStyles.textDayFontFamily, fontWeight: mergedStyles.textDayFontWeight, color: mergedStyles.dayTextColor, ...mergedStyles.textDayStyle }, disabledText: { color: mergedStyles.textDisabledColor }, today: { color: mergedStyles.todayTextColor }, selectedText: { color: mergedStyles.selectedDayTextColor }, selected: { width: 35, height: 35, borderRadius: 20, alignItems: 'center', justifyContent: 'center', backgroundColor: mergedStyles.selectedDayBackgroundColor } }); }; //# sourceMappingURL=style.js.map