This commit is contained in:
Jori Lallo
2016-04-28 22:25:37 -07:00
parent 2f9233222d
commit cce82b3d43
79 changed files with 1495 additions and 496 deletions

9
src/utils/actions.js Normal file
View File

@@ -0,0 +1,9 @@
export default (type, ...argNames) => {
return function(...args) {
let action = { type }
argNames.forEach((arg, index) => {
action[argNames[index]] = args[index]
})
return action
}
}

View File

@@ -0,0 +1,23 @@
* {
box-sizing: border-box;
}
html, body, .viewport {
width: 100%;
height: 100%;
margin: 0;
}
html, body {
font-family: 'Atlas Grotesk', 'Helvetica Neue', sans-serif;
}
a {
color: #0C77F8;
}
:global {
.Codemirror {
height: auto;
}
}