aretherecookies-mobile/js/ui-theme.js

69 lines
1.3 KiB
JavaScript
Raw Normal View History

//@flow
/**
* Default theme for reference:
* https://github.com/xotahal/react-native-material-ui/blob/master/src/styles/themes/light.js
*/
2017-03-05 18:09:01 -06:00
import { COLOR } from 'react-native-material-ui';
2017-04-23 20:15:46 -05:00
export const primaryColor = '#6d5354';
export default {
2017-04-23 20:15:46 -05:00
palette: {
primaryColor,
2017-04-25 00:20:49 -05:00
accentColor: '#0E6E9E',
2017-04-23 20:15:46 -05:00
disabledColor: COLOR.grey500,
},
toolbar: {
titleText: { color: COLOR.white },
leftElement: { color: COLOR.white },
rightElement: { color: COLOR.white },
container: {
backgroundColor: primaryColor,
2017-04-25 00:20:49 -05:00
height: 56,
2017-04-23 20:15:46 -05:00
elevation: 0,
},
},
page: {
2017-07-02 11:35:30 -05:00
container: { flex: 1, backgroundColor: COLOR.grey100 },
2017-04-23 20:15:46 -05:00
},
2017-06-24 16:06:11 -05:00
divider: {
container: { height: 2 },
},
2017-04-23 20:15:46 -05:00
topTabs: {
selectedUnderlineStyle: {
backgroundColor: COLOR.grey100,
},
textColor: COLOR.white,
selectedTextColor: 'rgba(255, 255, 255, 0.7)',
backgroundColor: primaryColor,
},
itemTile: {
thumbnailSize: 50,
thumbnailColor: COLOR.grey500,
itemNameStyle: {
2017-04-25 00:20:49 -05:00
color: COLOR.black,
2017-04-23 20:15:46 -05:00
},
itemPlaceStyle: {
color: COLOR.grey500,
},
availableCountStyle: {
fontSize: 25,
color: COLOR.black,
},
pressHighlightColor: COLOR.pink500,
},
countBadge: {
backgroundColor: primaryColor,
textColor: COLOR.white,
},
2017-06-24 16:06:11 -05:00
picker: {
2017-04-25 00:20:49 -05:00
color: '#0E6E9E',
2017-04-23 20:15:46 -05:00
},
foodItemDetails: {
2017-07-23 19:58:10 -05:00
actionIconColor: '#0E6E9E',
},
placeDetails: {
actionIconColor: '#0E6E9E',
2017-04-23 20:15:46 -05:00
},
};