UNPKG

react-native-ethiopian-calendar

Version:

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

86 lines 2.3 kB
import { StyleSheet } from 'react-native'; import * as defaultStyle from '../../../styles'; export const makeStyle = function () { let theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const mergedStyles = { ...defaultStyle, ...theme }; return StyleSheet.create({ container: { backgroundColor: mergedStyles.localsDropdownBackgroundColor, alignItems: 'center' }, dropdownContainer: { position: 'absolute', backgroundColor: mergedStyles.localsDropdownBackgroundColor, marginTop: 35, alignItems: 'center', shadowColor: '#000', shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5, width: '100%', paddingBottom: 5 }, labelText: { fontSize: mergedStyles.textDayFontSize, fontFamily: mergedStyles.textDayFontFamily, fontWeight: 'bold', color: mergedStyles.dayTextColor }, dropdownButtonStyle: { paddingHorizontal: 30, paddingVertical: 5, flexDirection: 'row', justifyContent: 'space-between', backgroundColor: mergedStyles.localsDropdownBackgroundColor, alignItems: 'center', shadowColor: '#000', shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5 }, dropdownIconStyle: { width: 15, height: 8, marginLeft: 20, tintColor: mergedStyles.dayTextColor }, dividerStyle: { borderBottomWidth: 1, borderColor: mergedStyles.textDisabledColor, width: '88%' }, languageButton: { paddingVertical: 5, width: '100%', alignItems: 'center' }, languageButtonSelected: { backgroundColor: mergedStyles.selectedDayBackgroundColor }, languageButtonContainer: { width: '100%', alignItems: 'center' }, languageTextStyle: { fontSize: mergedStyles.textDayFontSize, fontFamily: mergedStyles.textDayFontFamily, fontWeight: mergedStyles.textDayFontWeight, color: mergedStyles.dayTextColor }, languageTextSelected: { color: mergedStyles.selectedDayTextColor } }); }; //# sourceMappingURL=styles.js.map