diff --git a/packages/react-scripts/template/src/App.css b/packages/react-scripts/template/src/App.css index c5c6e8a68ad..92f956e8040 100644 --- a/packages/react-scripts/template/src/App.css +++ b/packages/react-scripts/template/src/App.css @@ -4,25 +4,29 @@ .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-size: large; +.App-link { + color: #61dafb; } @keyframes App-logo-spin { - from { transform: rotate(0deg); } - to { transform: rotate(360deg); } + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } } diff --git a/packages/react-scripts/template/src/App.js b/packages/react-scripts/template/src/App.js index 203067e4d75..7e261ca47e6 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 React +
-

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

); } diff --git a/packages/react-scripts/template/src/index.css b/packages/react-scripts/template/src/index.css index b4cc7250b98..cee5f348fb9 100644 --- a/packages/react-scripts/template/src/index.css +++ b/packages/react-scripts/template/src/index.css @@ -1,5 +1,14 @@ body { margin: 0; padding: 0; - font-family: sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +code { + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", + monospace; }