Добавлен новый основной шрифт

This commit is contained in:
goodmice 2022-12-26 17:57:09 +05:00
parent 92526907fa
commit a01d0fb095
No known key found for this signature in database
GPG Key ID: EA4AA16454AC96C8
4 changed files with 7 additions and 6 deletions

View File

@ -9,6 +9,7 @@ import { OpenAPI } from '@api'
import App from './App' import App from './App'
import '@styles/include/antd_theme.less' import '@styles/include/antd_theme.less'
import '@styles/fonts.less'
import '@styles/index.css' import '@styles/index.css'
// OpenAPI.BASE = 'http://localhost:3000' // OpenAPI.BASE = 'http://localhost:3000'

4
src/styles/fonts.less Normal file
View File

@ -0,0 +1,4 @@
@font-face {
font-family: 'Jost';
src: url('fonts/Jost-VariableFont_wght.ttf') format('truetype');
}

Binary file not shown.

View File

@ -1,10 +1,11 @@
body { body {
margin: 0; 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', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif; sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
background: #232323;
} }
.d-flex { .d-flex {
@ -162,8 +163,3 @@ code {
.pointer { .pointer {
cursor: pointer; cursor: pointer;
} }
.deposit-page {
height: 100vh;
overflow: hidden;
}