mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-25 22:50:04 +05:30
Удалён Consolas из исходников сайта, font-family заменены на более-менее похожие моноширные шрифты из соседних операционок
This commit is contained in:
parent
a33d0b66d0
commit
21f21daf60
@ -3,7 +3,6 @@ import ReactDOM from 'react-dom';
|
||||
|
||||
import { bsod } from './actions';
|
||||
import BSoD from 'components/ui/bsod/BSoD';
|
||||
import font from 'services/font';
|
||||
|
||||
let injectedStore;
|
||||
let onBsod;
|
||||
@ -12,11 +11,9 @@ export default function dispatchBsod(store = injectedStore) {
|
||||
store.dispatch(bsod());
|
||||
onBsod && onBsod();
|
||||
|
||||
font.load(['Consolas']).then(() =>
|
||||
ReactDOM.render(
|
||||
<BSoD store={store} />,
|
||||
document.getElementById('app')
|
||||
)
|
||||
ReactDOM.render(
|
||||
<BSoD store={store} />,
|
||||
document.getElementById('app')
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -1,16 +1,6 @@
|
||||
@import '~components/ui/colors.scss';
|
||||
|
||||
$font-family-monospaced: 'Consolas', monospace;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Consolas';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Consolas'),
|
||||
url('~fonts/consolas/consolas-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('~fonts/consolas/consolas-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('~fonts/consolas/consolas-regular.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
$font-family-monospaced: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Roboto Mono', monospace;
|
||||
|
||||
.body {
|
||||
height: 100%;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user