Skip to content

Commit 02a990f

Browse files
Merge pull request cerebral#288 from cerebral/vscode
Vscode
2 parents 8365fd1 + c6fb42f commit 02a990f

File tree

31 files changed

+171
-151
lines changed

31 files changed

+171
-151
lines changed

packages/node_modules/overmind-devtools-client/DevtoolBackend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class DevtoolBackend {
232232
</script>
233233
</head>
234234
<body>
235-
<script type="text/javascript" src="${scriptSource}"></script>
235+
<script type="text/javascript" src="${scriptSource}"></script>
236236
</body>
237237
</html>
238238
`

packages/node_modules/overmind-devtools-client/src/components/Action/styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const breakStyle = css({
3232
display: 'flex',
3333
alignItems: 'center',
3434
borderRadius: 3,
35-
color: colors.dark,
35+
color: colors.foreground,
3636
backgroundColor: colors.purple,
3737
padding: '0 0.5rem',
3838
marginBottom: '1rem',
@@ -53,9 +53,9 @@ export const path = css({
5353
fontSize: 10,
5454
lineHeight: '14px',
5555
padding: '0.25rem 0',
56-
backgroundColor: colors.white2,
56+
backgroundColor: colors.highlight,
5757
borderRadius: 3,
58-
color: colors.dark,
58+
color: colors.foreground,
5959
marginRight: '0.5rem',
6060
fontWeight: 'bold',
6161
justifyContent: 'center',

packages/node_modules/overmind-devtools-client/src/components/ActionFlush/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const flush = css({
2020
export const flushHeader = css({
2121
display: 'flex',
2222
alignItems: 'center',
23-
color: colors.dark,
23+
color: colors.foreground,
2424
padding: '0 0.5rem',
2525
fontSize: 12,
2626
fontWeight: 'bold',
@@ -41,7 +41,7 @@ export const flushBody = css({
4141
top: '100%',
4242
right: 0,
4343
padding: '0.5rem 1rem',
44-
backgroundColor: colors.dark,
44+
backgroundColor: colors.foreground,
4545
borderBottomRightRadius: 3,
4646
display: 'none',
4747
flexWrap: 'wrap',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const ActionOperator: FunctionComponent<Props> = ({
3737
className={styles.operatorType}
3838
style={{
3939
backgroundColor: operator.error ? colors.red : null,
40-
color: operator.error ? colors.white : null,
40+
color: operator.error ? colors.text : null,
4141
}}
4242
>
4343
{operator.type}

packages/node_modules/overmind-devtools-client/src/components/ActionOperator/styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export const value = css({
2424
})
2525

2626
export const operatorType = css({
27-
color: colors.dark2,
28-
backgroundColor: colors.white2,
27+
color: colors.background,
28+
backgroundColor: colors.highlight,
2929
padding: '0 0.5rem',
3030
borderTopLeftRadius: 3,
3131
borderBottomLeftRadius: 3,
@@ -42,7 +42,7 @@ export const notVisible = css({
4242

4343
export const operatorHeader = css({
4444
display: 'flex',
45-
backgroundColor: colors.dark3,
45+
backgroundColor: colors.border,
4646
borderRadius: 3,
4747
alignItems: 'stretch',
4848
})
@@ -62,7 +62,7 @@ export const operatorItem = css({
6262

6363
export const effectError = css({
6464
backgroundColor: colors.red,
65-
color: colors.white,
65+
color: colors.text,
6666
padding: '0.1rem 0.5rem',
6767
fontsize: 14,
6868
borderRadius: 2,

packages/node_modules/overmind-devtools-client/src/components/ActionPayload/styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { css } from 'emotion'
22
import { colors } from '../../theme'
33

44
export const wrapper = css({
5-
backgroundColor: colors.white,
6-
color: colors.dark,
5+
backgroundColor: colors.text,
6+
color: colors.foreground,
77
boxSizing: 'border-box',
88
})
99

@@ -14,7 +14,7 @@ export const input = css({
1414
fontSize: 14,
1515
height: '100%',
1616
fontFamily: 'inherit',
17-
color: colors.dark,
17+
color: colors.foreground,
1818
backgroundColor: 'transparent',
1919
width: 200,
2020
boxSizing: 'border-box',

packages/node_modules/overmind-devtools-client/src/components/ActionSelector/styles.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export const wrapper = css({
66
position: 'relative',
77
borderTopLeftRadius: 3,
88
borderBottomLeftRadius: 3,
9-
backgroundColor: colors.dark,
9+
backgroundColor: colors.foreground,
1010
display: 'flex',
1111
padding: '0 1rem',
1212
alignItems: 'center',
1313
cursor: 'pointer',
14-
color: colors.white,
14+
color: colors.text,
1515
})
1616

1717
export const inputWrapper = css({
@@ -29,7 +29,7 @@ export const input = css({
2929
fontFamily: 'inherit',
3030
outline: 'none',
3131
backgroundColor: 'transparent',
32-
color: colors.white,
32+
color: colors.text,
3333
height: '100%',
3434
boxSizing: 'border-box',
3535
fontSize: 16,
@@ -78,7 +78,7 @@ export const resultWrapper = css({
7878
maxHeight: '75vh',
7979
overflowY: 'scroll',
8080
left: 0,
81-
backgroundColor: colors.dark3,
81+
backgroundColor: colors.border,
8282
borderBottomLeftRadius: 3,
8383
borderBottomRightRadius: 3,
8484
zIndex: 2,
@@ -93,6 +93,6 @@ export const result = css({
9393
marginRight: '0.5rem',
9494
},
9595
':hover': {
96-
backgroundColor: colors.dark,
96+
backgroundColor: colors.foreground,
9797
},
9898
})

packages/node_modules/overmind-devtools-client/src/components/ActionsList/styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ export const actionItem = css({
1616
borderRadius: 3,
1717
cursor: 'pointer',
1818
':hover': {
19-
backgroundColor: colors.dark3,
19+
backgroundColor: colors.foreground,
2020
},
2121
marginBottom: 2,
2222
})
2323

2424
export const selected = css({
25-
backgroundColor: colors.dark3,
25+
backgroundColor: colors.foreground,
2626
fontWeight: 'bold',
2727
})
2828

@@ -49,7 +49,7 @@ export const actionSubItem = css({
4949
textIndent: 15,
5050
borderRadius: 3,
5151
':hover': {
52-
backgroundColor: colors.dark3,
52+
backgroundColor: colors.foreground,
5353
},
5454
marginBottom: 2,
5555
})

packages/node_modules/overmind-devtools-client/src/components/ActionsTools/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ActionsTools: FunctionComponent = () => {
2525
style={{
2626
backgroundColor: state.currentApp.selectedActionQuery
2727
? colors.green
28-
: colors.white2,
28+
: colors.highlight,
2929
}}
3030
>
3131
<FaRocket />

packages/node_modules/overmind-devtools-client/src/components/ActionsTools/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const wrapper = css({
1010
export const button = css({
1111
borderLeft: 'none',
1212
backgroundColor: colors.green,
13-
color: colors.dark,
13+
color: colors.foreground,
1414
padding: '0.5rem 1rem',
1515
boxSizing: 'border-box',
1616
borderTopRightRadius: 3,

0 commit comments

Comments
 (0)