diff --git a/src/index.tsx b/src/index.tsx index 12aaff2..8bc4c23 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -9,6 +9,7 @@ import { OpenAPI } from '@api' import App from './App' import '@styles/include/antd_theme.less' +import '@styles/fonts.less' import '@styles/index.css' // OpenAPI.BASE = 'http://localhost:3000' diff --git a/src/styles/fonts.less b/src/styles/fonts.less new file mode 100644 index 0000000..a6b74c0 --- /dev/null +++ b/src/styles/fonts.less @@ -0,0 +1,4 @@ +@font-face { + font-family: 'Jost'; + src: url('fonts/Jost-VariableFont_wght.ttf') format('truetype'); +} diff --git a/src/styles/fonts/Jost-VariableFont_wght.ttf b/src/styles/fonts/Jost-VariableFont_wght.ttf new file mode 100644 index 0000000..e758df3 Binary files /dev/null and b/src/styles/fonts/Jost-VariableFont_wght.ttf differ diff --git a/src/styles/index.css b/src/styles/index.css index 217ba16..7fc3ae3 100755 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -1,10 +1,11 @@ body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + font-family: 'Jost', -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; + background: #232323; } .d-flex { @@ -162,8 +163,3 @@ code { .pointer { cursor: pointer; } - -.deposit-page { - height: 100vh; - overflow: hidden; -}