Basic Styling
Right now we have a blank application with no styling. Here we'll add some base styling to set a general theme for our app and default settings for colors, fonts and text within our application.
Inside of our empty index.css
file add the following code.
index.css
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
body {
padding: 0;
margin: 0;
}
#app {
background-color: #212228;
background-image: linear-gradient(#292a30 0.1em, transparent 0.1em),
linear-gradient(90deg, #292a30 0.1em, transparent 0.1em);
background-size: 4em 4em;
height: 100vh;
position: relative;
overflow: auto;
}