Fix light background in docusaurus night mode (#7936)

* Fix light background in docusaurus night mode

Closes #7930

* Rename lightBackground to gettingStartedSection
This commit is contained in:
Alex Guerra
2019-11-13 08:37:04 -06:00
committed by Andreas Cederström
parent f01bfac190
commit 30b491b8b1
2 changed files with 6 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ function Home() {
</div>
</div>
)}
<div className={styles.lightBackground}>
<div className={styles.gettingStartedSection}>
<div className="container padding-vert--xl text--left">
<div className="row">
<div className="col col--4 col--offset-1">

View File

@@ -40,7 +40,10 @@
margin: 0 auto;
}
.lightBackground {
.gettingStartedSection {
background-color: #f7f7f7;
color: rgb(31, 34, 39);
}
html[data-theme='dark'] .gettingStartedSection {
background-color: #33363b;
}