Changeset View
Changeset View
Standalone View
Standalone View
web/e.cash/styles/global.js
import { createGlobalStyle } from 'styled-components'; | import { createGlobalStyle } from 'styled-components'; | ||||
export default createGlobalStyle` | export default createGlobalStyle` | ||||
@font-face { | @font-face { | ||||
font-family: 'Poppins'; | font-family: 'Poppins'; | ||||
src: local('Poppins'), | src: local('Poppins'), | ||||
url(../public/fonts/Poppins-Regular.ttf) format('truetype'); | url(/fonts/Poppins-Regular.ttf) format('truetype'); | ||||
font-weight: normal; | font-weight: normal; | ||||
} | } | ||||
@font-face { | @font-face { | ||||
font-family: 'Poppins'; | font-family: 'Poppins'; | ||||
src: local('Poppins'), | src: local('Poppins'), | ||||
url(../public/fonts/Poppins-Medium.ttf) format('truetype'); | url(/fonts/Poppins-Medium.ttf) format('truetype'); | ||||
font-weight: 500; | font-weight: 500; | ||||
} | } | ||||
@font-face { | @font-face { | ||||
font-family: 'Poppins'; | font-family: 'Poppins'; | ||||
src: local('Poppins'), | src: local('Poppins'), | ||||
url(../public/fonts/Poppins-Bold.ttf) format('truetype'); | url(/fonts/Poppins-Bold.ttf) format('truetype'); | ||||
font-weight: 700; | font-weight: 700; | ||||
} | } | ||||
@font-face { | @font-face { | ||||
font-family: 'Montserrat'; | font-family: 'Montserrat'; | ||||
src: local('Montserrat'), | src: local('Montserrat'), | ||||
url(../public/fonts/Montserrat-Regular.ttf) format('truetype'); | url(/fonts/Montserrat-Regular.ttf) format('truetype'); | ||||
font-weight: normal; | font-weight: normal; | ||||
} | } | ||||
@font-face { | @font-face { | ||||
font-family: 'Montserrat'; | font-family: 'Montserrat'; | ||||
src: local('Montserrat'), | src: local('Montserrat'), | ||||
url(../public/fonts/Montserrat-Bold.ttf) format('truetype'); | url(/fonts/Montserrat-Bold.ttf) format('truetype'); | ||||
font-weight: 700; | font-weight: 700; | ||||
} | } | ||||
html, | html, | ||||
body { | body { | ||||
padding: 0; | padding: 0; | ||||
margin: 0; | margin: 0; | ||||
font-family: 'Poppins', sans-serif; | font-family: 'Poppins', sans-serif; | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |