Skip to content

Commit d138ad4

Browse files
author
Vivek Vishal
authored
Merge pull request #6525 from ashok-2003/fix-dark-light-issue
fixed Darkmode-Lightmode switching issue
2 parents 03a01b1 + 6b38770 commit d138ad4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • src/sections/Home/Playground-home

src/sections/Home/Playground-home/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const ViewsSectionWrapper = styled.div`
106106
/* max-width: 90%; */
107107
padding-bottom: 2%;
108108
}
109-
}
109+
110110
111111
h4 {
112112
max-width: 90%;
@@ -215,7 +215,8 @@ const ViewsSectionWrapper = styled.div`
215215
height:150px;
216216
padding: 2rem;
217217
box-sizing: border-box;
218-
background-color: ${(props) => props.theme.backgroundColor};
218+
background-color: ${(props) => props.theme.backgroundColor};
219+
color: ${(props) => props.theme.whiteEightToBlack};
219220
margin-bottom: 1rem;
220221
border-radius: 1rem;
221222
//box-shadow: ${(props) => props.theme.boxShadowGreen00D3A9ToBlackTwoFive};
@@ -233,6 +234,7 @@ const ViewsSectionWrapper = styled.div`
233234
.box .boxText {
234235
margin-top: 1rem;
235236
text-align: center;
237+
color: ${(props) => props.theme.whiteEightToBlack};
236238
}
237239
238240
@media only screen and (max-width: 700px) {

0 commit comments

Comments
 (0)