Added default styles, fixed some errors

This commit is contained in:
Dmitriy Shishkov 2021-07-13 18:45:55 +05:00
parent f9e0e77fc3
commit daf0091b1d
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060
4 changed files with 30 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# \<Project name\>
<p align="center">
<img src="https://github.com/dm1sh/<Repo name>/raw/main/logo.svg" alt="<Logo description>" width="150px">
<img src="https://github.com/<Organization name>/<Repo name>/raw/main/logo.svg" alt="<Logo description>" width="150px">
</p>
## Overview

View File

@ -1 +1,3 @@
import React from "react";
export const App = () => <div>Hello, world</div>;

25
src/index.css Normal file
View File

@ -0,0 +1,25 @@
* {
margin: 0;
padding: 0;
-ms-overflow-style: none;
scrollbar-width: none;
box-sizing: border-box;
outline: none;
}
*::-webkit-scrollbar {
display: none;
}
body {
font-family: Inter, system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: rgba(54, 54, 69, 0.05) none repeat scroll 0% 0%;
color: rgb(54, 54, 69);
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}

View File

@ -1,6 +1,8 @@
import React from "react";
import ReactDOM from "react-dom";
import './index.css'
import { App } from "./App";
ReactDOM.render(