Skip to content

Commit e17901f

Browse files
feat(website): add website
1 parent 818a165 commit e17901f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2823
-108
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ after_success:
3131
fi
3232
if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
3333
printf "//registry.npmjs.org/:_authToken=$NPM_TOKEN\n" > ~/.npmrc
34-
npm install --no-save [email protected]
34+
npm install --no-save [email protected] now
3535
npm run release
36+
now ./packages/overmind-website --token $NOW_TOKEN && now ./packages/overmind-website alias --token $NOW_TOKEN
3637
fi
3738
branches:
3839
except:

packages/node_modules/overmind-devtools/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"color-hash": "^1.0.3",
2828
"electron": "^2.0.4",
2929
"electron-json-storage": "^4.1.0",
30-
"react-overmind": "next",
30+
"react-overmind": "next",
31+
"overmind-themes": "next",
3132
"react": "^16.4.1",
3233
"react-dom": "^16.4.1",
3334
"styled-components": "^3.3.3",

packages/node_modules/overmind-devtools/src/components/Action/elements.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import styled from '../../styled-components'
2-
import { Colors } from '../../theme'
32

43
export const Wrapper = styled.div`
54
padding: ${({ theme }) => theme.padding.normal};

packages/node_modules/overmind-devtools/src/components/ActionOperator/elements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from '../../styled-components'
2-
import { Colors } from '../../theme'
2+
import { Colors } from 'overmind-themes'
33

44
export const Operator = styled<
55
{

packages/node_modules/overmind-devtools/src/components/ActionOperator/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@ const ActionOperator: React.SFC<Props> = ({ operator, value, app }) => (
2020
<ValueInspector value={value} small />
2121
</Pipe>
2222
<Pipe>
23-
<Path
24-
borderColor={operator.type === 'mutation' ? 'primary' : 'secondary'}
25-
>
23+
<Path borderColor={operator.type === 'mutation' ? 'red' : 'primary'}>
2624
{operator.path.length ? (
2725
<Text variant="hint">
2826
<b>{operator.path.join('.')}</b>
2927
</Text>
3028
) : null}
3129
</Path>
3230
<Operator
33-
borderColor={operator.type === 'mutation' ? 'primary' : 'secondary'}
31+
borderColor={operator.type === 'mutation' ? 'red' : 'primary'}
3432
onClick={
3533
operator.mutations.length || operator.effects.length
3634
? () => app.actions.toggleCollapsed(operator)
@@ -40,7 +38,7 @@ const ActionOperator: React.SFC<Props> = ({ operator, value, app }) => (
4038
<OperatorHeader>
4139
<Text
4240
variant="text"
43-
color={operator.type === 'mutation' ? 'primary' : 'secondary'}
41+
color={operator.type === 'mutation' ? 'red' : 'primary'}
4442
dense
4543
>
4644
{operator.type}
@@ -62,7 +60,7 @@ const ActionOperator: React.SFC<Props> = ({ operator, value, app }) => (
6260
<div onClick={(event) => event.stopPropagation()}>
6361
{operator.effects.map((effect, index) => (
6462
<OperatorItem key={index}>
65-
<Text variant="description" color="secondary" mono>
63+
<Text variant="description" color="primary" mono>
6664
{effect.name + '.' + effect.method}
6765
</Text>
6866
<ValueInspector
@@ -77,7 +75,7 @@ const ActionOperator: React.SFC<Props> = ({ operator, value, app }) => (
7775
))}
7876
{operator.mutations.map((mutation, index) => (
7977
<OperatorItem key={index}>
80-
<Text variant="description" color="primary" mono>
78+
<Text variant="description" color="red" mono>
8179
{mutation.method}
8280
</Text>
8381
<Text variant="description" mono>

packages/node_modules/overmind-devtools/src/components/ActionPath/elements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from '../../styled-components'
2-
import { Colors } from '../../theme'
2+
import { Colors } from 'overmind-themes'
33

44
export const Path = styled.div`
55
position: relative;

packages/node_modules/overmind-devtools/src/components/ActionPath/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import { Path, PathLine, PathText } from './elements'
3-
import { Colors } from '../../theme'
3+
import { Colors } from 'overmind-themes'
44

55
type Props = {
66
borderColor?: keyof Colors

packages/node_modules/overmind-devtools/src/components/Inspector/elements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const StringValue = styled.div`
2929
`
3030

3131
export const GenericValue = styled.div`
32-
color: ${({ theme }) => theme.color.secondary};
32+
color: ${({ theme }) => theme.color.primary};
3333
`
3434

3535
export const NestedChildren = styled.div`

packages/node_modules/overmind-devtools/src/components/PortsBar/elements.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const AddPort = styled.div`
3131
justify-content: center;
3232
width: 50px;
3333
height: 50px;
34-
color: ${({ theme }) => theme.color.secondary};
34+
color: ${({ theme }) => theme.color.primary};
3535
cursor: pointer;
3636
:hover {
37-
color: ${({ theme }) => theme.color.lighten(theme.color.secondary, 0.3)};
37+
color: ${({ theme }) => theme.color.lighten(theme.color.primary, 0.3)};
3838
}
3939
`

packages/node_modules/overmind-devtools/src/components/State/elements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const ComputedLabel = styled.div`
2626

2727
export const DerivedLabel = styled.div`
2828
margin-right: 5px;
29-
background-color: ${({ theme }) => theme.color.secondary};
29+
background-color: ${({ theme }) => theme.color.primary};
3030
padding: ${({ theme }) => `0 ${theme.padding.smallerer}`};
3131
border-radius: ${({ theme }) => theme.borderRadius.normal};
3232
color: ${({ theme }) => theme.color.white};

0 commit comments

Comments
 (0)