Add JS CSS variables
This commit is contained in:
parent
03daec796d
commit
e8cd758ca9
|
@ -1,12 +1,13 @@
|
||||||
import red from 'material-ui/colors/red';
|
import red from 'material-ui/colors/red';
|
||||||
import { createMuiTheme } from 'material-ui/styles'
|
import { createMuiTheme } from 'material-ui/styles'
|
||||||
|
import { primary, secondary } from './variables'
|
||||||
|
|
||||||
const palette = {
|
const palette = {
|
||||||
primary: {
|
primary: {
|
||||||
main: '#1798cc',
|
main: primary,
|
||||||
},
|
},
|
||||||
secondary: {
|
secondary: {
|
||||||
main: '#6b7c93',
|
main: secondary,
|
||||||
},
|
},
|
||||||
error: red,
|
error: red,
|
||||||
contrastThreshold: 3,
|
contrastThreshold: 3,
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
var primary = '#1798cc'
|
||||||
|
var secondary = '#6b7c93'
|
||||||
|
|
||||||
|
module.exports = Object.assign({}, {
|
||||||
|
primary,
|
||||||
|
secondary,
|
||||||
|
});
|
Loading…
Reference in New Issue