Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
refactor: move global styles to html template
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Sep 30, 2018
1 parent 52d5c8c commit fa7911c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
13 changes: 13 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
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;
}
</style>
</head>
<body>
<noscript>
Expand Down
14 changes: 0 additions & 14 deletions src/index.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/providers/react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { render } from 'react-dom';
import '../index.css';

import App from '../pages/app';

render(<App />, document.getElementById('root'));

0 comments on commit fa7911c

Please sign in to comment.