Home screen and PanelButtons

This commit is contained in:
John Lyon-Smith
2018-03-02 14:20:51 -08:00
parent 37cbc6becd
commit d347adcf33
13 changed files with 182 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
export const colorInfo = {
let colorInfo = {
text: '#000000',
textInverse: '#FFFFFF',
textPlaceholder: '#EEEEEE',
@@ -15,7 +15,14 @@ export const colorInfo = {
uncheckedCheckboxHover: '#808080',
}
export const sizeInfo = {
Object.assign(colorInfo, {
panelButtonBackground: colorInfo.headerButtonBackground,
panelButtonBackgroundHover: colorInfo.headerButtonBackgroundHover,
panelButtonBackgroundActive: colorInfo.headerButtonBackgroundActive,
disabledPanelButtonBackground: colorInfo.disabledButtonBackground,
})
const sizeInfo = {
headerHeight: 60,
imageMargin: 5, // The margin around images
iconMargin: 10, // The margin around icons
@@ -23,9 +30,12 @@ export const sizeInfo = {
buttonHeight: 40,
minButtonWidth: 100,
checkboxSize: 25,
panelButtonSize: 200,
panelIconSize: 170,
panelTextOffset: 130,
}
export const fontInfo = {
const fontInfo = {
family: 'Hind, sans-serif', // https://fonts.google.com/specimen/Hind?selection.family=Hind
size: {
small: '10pt',
@@ -40,3 +50,5 @@ export const fontInfo = {
'dimmed': colorInfo.grayText,
}
}
export { colorInfo, sizeInfo, fontInfo }