diff --git a/voice-chess-react/src/App.scss b/voice-chess-react/src/App.scss
deleted file mode 100644
index 9bae54f..0000000
--- a/voice-chess-react/src/App.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-// https: //www.npmjs.com/package/@fontsource/roboto
-// Weights: [100,300,400,500,700,900]
-// Styles: [italic,normal]
-// Supported subsets: [cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese]
-// @import "~@fontsource/roboto/index.css";
-// @import "~@fontsource/roboto/300-italic.css";
-@use "@fontsource/roboto/scss/mixins"as Roboto;
-
-//
-#ui {
- position: fixed;
- top: 0;
- left: 0;
- width: 0;
- height: 100px;
- background-color: "#444";
- color: "#fff";
-
-}
\ No newline at end of file
diff --git a/voice-chess-react/src/App.tsx b/voice-chess-react/src/App.tsx
index 9e2c6da..29d082f 100644
--- a/voice-chess-react/src/App.tsx
+++ b/voice-chess-react/src/App.tsx
@@ -1,5 +1,3 @@
-//import "./App.scss";
-
// React
import { Suspense, useEffect, useState } from "react";
import intl from "react-intl-universal";
diff --git a/voice-chess-react/src/components/chessBoard.tsx b/voice-chess-react/src/components/chessBoard.tsx
index 9775b45..c96f5f1 100644
--- a/voice-chess-react/src/components/chessBoard.tsx
+++ b/voice-chess-react/src/components/chessBoard.tsx
@@ -1,7 +1,4 @@
-import React, {
- useCallback,
- useState,
-} from "react";
+import React, { useCallback, useState } from "react";
import { MeshPhysicalMaterial, BoxBufferGeometry, Euler } from "three";
import { Text } from "@react-three/drei";
import {
@@ -130,7 +127,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={12}
scale={BOARD_LABELSCALE}
position={[-TILESIZE / 4, row + TILESIZE / 2, 0]}
@@ -141,7 +137,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={12}
scale={BOARD_LABELSCALE}
rotation={new Euler(0, 0, Math.PI)}
@@ -173,7 +168,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={12}
scale={BOARD_LABELSCALE}
position={[col + TILESIZE / 2, -TILESIZE / 2, 0]}
@@ -184,7 +178,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={7}
scale={BOARD_LABELSCALE}
position={[col + TILESIZE / 2, -TILESIZE, 0]}
@@ -195,7 +188,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={12}
scale={BOARD_LABELSCALE}
rotation={new Euler(0, 0, Math.PI)}
@@ -211,7 +203,6 @@ const ChessBoard = (props: any) => {
color="#f33"
anchorX="center"
anchorY="middle"
- font="Roboto"
fontSize={7}
scale={BOARD_LABELSCALE}
rotation={new Euler(0, 0, Math.PI)}
diff --git a/voice-chess-react/src/components/socketVoice.css b/voice-chess-react/src/components/socketVoice.css
index 5e9cf6a..5297092 100644
--- a/voice-chess-react/src/components/socketVoice.css
+++ b/voice-chess-react/src/components/socketVoice.css
@@ -11,7 +11,6 @@
width: 98%;
margin: 0 auto;
border-radius: 4px;
- font-family: Roboto;
font-size: 16px;
font-weight: 900;
display: table-cell;
@@ -29,7 +28,6 @@
margin-top: -26px;
padding: 4px;
border-radius: 4px;
- font-family: Roboto;
font-size: 12px;
font-weight: 400;
}
@@ -96,7 +94,6 @@
margin: 4px;
margin-top: -30px;
padding: 4px;
- font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
@@ -111,7 +108,6 @@
margin: 4px;
margin-top: -30px;
padding: 4px;
- font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
@@ -128,7 +124,6 @@
margin-top: -24px;
padding: 4px;
border-radius: 4px;
- font-family: Roboto;
font-size: 12px;
font-weight: 400;
}
diff --git a/voice-chess-react/src/index.css b/voice-chess-react/src/index.css
index ed602a4..b7ffb09 100644
--- a/voice-chess-react/src/index.css
+++ b/voice-chess-react/src/index.css
@@ -68,7 +68,6 @@ body {
margin: 10px 0 0 10px;
padding: 4px;
cursor: grab;
- font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
diff --git a/voice-chess-react/src/index.tsx b/voice-chess-react/src/index.tsx
index 32393d4..157a381 100644
--- a/voice-chess-react/src/index.tsx
+++ b/voice-chess-react/src/index.tsx
@@ -1,5 +1,6 @@
import React from "react";
import ReactDOM from "react-dom";
+import "@fontsource/roboto";
import "./index.css";
import App from "./App";
//import * as serviceWorkerRegistration from "./serviceWorkerRegistration";