Skip to content

Commit 7660a3d

Browse files
authored
Merge pull request #2485 from pointlessrapunzel/patch-1
fix: InfoBanner dark theme styles
2 parents fb0b7de + 7f13cdf commit 7660a3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/InfoBanner.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const InfoBanner = ({ visible, onHide }) => {
1616
flexWrap: 'wrap',
1717
flexDirection: 'row',
1818
alignContent: 'space-between',
19-
backgroundColor: '#E8E8E8',
19+
backgroundColor: 'var(--color-background)',
2020
zIndex: 2147483647,
2121
};
2222

@@ -38,11 +38,13 @@ const InfoBanner = ({ visible, onHide }) => {
3838
outline: 'none',
3939
backgroundColor: 'transparent',
4040
border: 'none',
41+
color: 'var(--color-text)',
42+
cursor: 'pointer',
4143
};
4244

4345
return (
4446
<div style={style}>
45-
<div stule={textStyle}>
47+
<div style={textStyle}>
4648
<p>Part 6 has new content about React Query, useReducer hook and React context.</p>
4749
<p>The new content replaces the chapter on Redux connect (that still remains online for a while).</p>
4850
<div style={{ marginTop: 10 }}><i>If you have already completed the part 6, this change has no effect on your progress.</i></div>

0 commit comments

Comments
 (0)