2016-09-08 19:47:29 +02:00
|
|
|
const caps = {
|
|
|
|
textTransform: 'uppercase',
|
|
|
|
letterSpacing: '.2em'
|
|
|
|
}
|
|
|
|
|
2016-09-09 11:29:18 +02:00
|
|
|
const baseColors = {
|
|
|
|
black: '#242424',
|
|
|
|
gray: '#313131',
|
|
|
|
midgray: '#778',
|
2016-09-09 14:09:02 +02:00
|
|
|
lowgray: '#dcdcdc',
|
2016-09-09 11:29:18 +02:00
|
|
|
white: '#fff',
|
|
|
|
blue: '#00d9f7',
|
|
|
|
green: '#0f8',
|
|
|
|
orange: '#fb3',
|
|
|
|
red: '#f04',
|
|
|
|
}
|
2016-09-08 19:47:29 +02:00
|
|
|
|
2016-09-09 11:29:18 +02:00
|
|
|
const themeColors = {
|
|
|
|
primary: baseColors.gray,
|
|
|
|
secondary: baseColors.midgray,
|
|
|
|
default: baseColors.gray,
|
|
|
|
info: baseColors.blue,
|
|
|
|
success: baseColors.green,
|
|
|
|
warning: baseColors.orange,
|
|
|
|
error: baseColors.red
|
|
|
|
}
|
2016-09-08 19:47:29 +02:00
|
|
|
|
2016-09-09 11:29:18 +02:00
|
|
|
const colors = {
|
|
|
|
...baseColors,
|
|
|
|
...themeColors
|
|
|
|
}
|
2016-09-08 19:47:29 +02:00
|
|
|
|
2016-09-09 14:09:02 +02:00
|
|
|
const scale = [3, 5, 10, 30, 40]
|
2016-09-09 11:29:18 +02:00
|
|
|
const fontSizes = [28, 24, 20, 16, 14, 12, 10]
|
|
|
|
|
|
|
|
const border = {
|
|
|
|
borderColor: colors.black,
|
|
|
|
borderRadius: 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
const dark = {
|
|
|
|
name: 'Dark',
|
|
|
|
color: colors.white,
|
2016-09-09 12:08:33 +02:00
|
|
|
fontFamily: 'Open Sans Bold, sans-serif',
|
2016-09-09 11:29:18 +02:00
|
|
|
scale,
|
|
|
|
fontSizes,
|
|
|
|
colors,
|
|
|
|
inverted: colors.midGray,
|
|
|
|
...border,
|
|
|
|
|
2016-09-09 14:09:02 +02:00
|
|
|
Block: {
|
2016-09-09 11:29:18 +02:00
|
|
|
backgroundColor: colors.gray,
|
|
|
|
...border,
|
|
|
|
borderLeft: 0,
|
|
|
|
borderRight: 0,
|
|
|
|
marginBottom: 0,
|
2016-09-09 12:08:33 +02:00
|
|
|
paddingBottom: 0,
|
2016-09-09 11:29:18 +02:00
|
|
|
},
|
|
|
|
PanelHeader: {
|
|
|
|
marginRight: -10,
|
2016-09-09 12:08:33 +02:00
|
|
|
marginBottom: 0,
|
|
|
|
fontSize: fontSizes[5],
|
2016-09-09 11:29:18 +02:00
|
|
|
fontWeight: 400,
|
|
|
|
color: colors.white,
|
|
|
|
},
|
2016-09-08 19:47:29 +02:00
|
|
|
Button: {
|
|
|
|
color: '#00d9f7',
|
|
|
|
},
|
|
|
|
Menu: {
|
|
|
|
color: '#00d9f7',
|
|
|
|
backgroundColor: '#000'
|
|
|
|
},
|
|
|
|
Message: {
|
|
|
|
color: '#111',
|
|
|
|
opacity: 15/16
|
|
|
|
},
|
2016-09-09 11:29:18 +02:00
|
|
|
Header: {
|
|
|
|
fontWeight: 400,
|
|
|
|
},
|
2016-09-09 14:09:02 +02:00
|
|
|
ButtonCircle : {
|
|
|
|
},
|
|
|
|
Toolbar: {
|
|
|
|
fontWeight: 400,
|
|
|
|
minHeight: scale[3]
|
|
|
|
},
|
|
|
|
Input: {
|
|
|
|
fontSize: fontSizes[5],
|
|
|
|
},
|
2016-09-08 19:47:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default dark
|