From ca35d9e3758590868aeb2c455e485cac9cfe2a18 Mon Sep 17 00:00:00 2001 From: Luke Jackson Date: Tue, 3 Oct 2017 21:33:37 +0100 Subject: [PATCH] Applies dark theme and adds link to reactjs.org --- packages/react-scripts/template/src/App.css | 20 ++++++++++++-------- packages/react-scripts/template/src/App.js | 15 +++++++++++---- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/packages/react-scripts/template/src/App.css b/packages/react-scripts/template/src/App.css index c5c6e8a68ad..57b6ab5b6b2 100644 --- a/packages/react-scripts/template/src/App.css +++ b/packages/react-scripts/template/src/App.css @@ -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 { diff --git a/packages/react-scripts/template/src/App.js b/packages/react-scripts/template/src/App.js index 203067e4d75..9a7e28878b1 100644 --- a/packages/react-scripts/template/src/App.js +++ b/packages/react-scripts/template/src/App.js @@ -8,11 +8,18 @@ class App extends Component {
logo -

Welcome to React

+

+ Edit src/App.js and save to reload. +

+ + Learn About React +
-

- To get started, edit src/App.js and save to reload. -

); }