Skip to content

Commit c6fb42f

Browse files
fix(overmind-devtools-client): fix missing colors
1 parent a578e60 commit c6fb42f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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/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/styles/text.ts

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

44
export const white = css({
5-
color: colors.white,
5+
color: colors.text,
66
})
77

88
export const red = css({
@@ -18,7 +18,7 @@ export const yellow = css({
1818
})
1919

2020
export const dark = css({
21-
color: colors.dark,
21+
color: colors.background,
2222
})
2323
export const monospace = css({
2424
fontFamily: "'Source Code Pro', monospace",

0 commit comments

Comments
 (0)