mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
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:
committed by
Andreas Cederström
parent
f01bfac190
commit
30b491b8b1
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user