Skip to content

Commit

Permalink
Applies dark theme and adds link to reactjs.org
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejacksonn committed Oct 3, 2017
1 parent cd3d04b commit ca35d9e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
20 changes: 12 additions & 8 deletions packages/react-scripts/template/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,26 @@

.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
height: 40vmin;
}

.App-header {
background-color: #222;
height: 150px;
padding: 20px;
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-title {
font-size: 1.5em;
.App-intro {
font-weight: 200;
}

.App-intro {
font-size: large;
.App-link {
color: #61dafb;
}

@keyframes App-logo-spin {
Expand Down
15 changes: 11 additions & 4 deletions packages/react-scripts/template/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ class App extends Component {
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h1 className="App-title">Welcome to React</h1>
<p className="App-intro">
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn About React
</a>
</header>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
</div>
);
}
Expand Down

0 comments on commit ca35d9e

Please sign in to comment.