font and basic color setup with scss structure

This commit is contained in:
talksik
2020-09-04 11:51:57 -07:00
parent e271793ce1
commit 907a0476e8
6 changed files with 21 additions and 16 deletions
+1
View File
@@ -0,0 +1 @@
@import '../../styles/index';
-13
View File
@@ -1,13 +0,0 @@
body {
margin: 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;
}
+5 -2
View File
@@ -1,12 +1,15 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Home from './components/home';
import * as serviceWorker from './serviceWorker';
// Styles
import './styles/_index.scss';
ReactDOM.render(
<React.StrictMode>
<h1>this site is atleast working</h1>
<Home />
</React.StrictMode>,
document.getElementById('root')
);
+8 -1
View File
@@ -1 +1,8 @@
$primary-color: #333;
$primary-background: #fbf6f0;
$primary-text: #3f4254;
$secondary-text: #b5b5c3;
body {
color: $primary-text;
background-color: $primary-background;
}
+5
View File
@@ -0,0 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');
html {
font-family: 'Fira Sans', sans-serif;
}
+2
View File
@@ -0,0 +1,2 @@
@import './colors';
@import './fonts';