Skip to content

Commit

Permalink
Clean unnecessary font references
Browse files Browse the repository at this point in the history
  • Loading branch information
HarikalarKutusu committed Apr 4, 2022
1 parent f6a3b78 commit db9d9be
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 37 deletions.
19 changes: 0 additions & 19 deletions voice-chess-react/src/App.scss

This file was deleted.

2 changes: 0 additions & 2 deletions voice-chess-react/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//import "./App.scss";

// React
import { Suspense, useEffect, useState } from "react";
import intl from "react-intl-universal";
Expand Down
11 changes: 1 addition & 10 deletions voice-chess-react/src/components/chessBoard.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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]}
Expand All @@ -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)}
Expand Down Expand Up @@ -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]}
Expand All @@ -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]}
Expand All @@ -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)}
Expand All @@ -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)}
Expand Down
5 changes: 0 additions & 5 deletions voice-chess-react/src/components/socketVoice.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
width: 98%;
margin: 0 auto;
border-radius: 4px;
font-family: Roboto;
font-size: 16px;
font-weight: 900;
display: table-cell;
Expand All @@ -29,7 +28,6 @@
margin-top: -26px;
padding: 4px;
border-radius: 4px;
font-family: Roboto;
font-size: 12px;
font-weight: 400;
}
Expand Down Expand Up @@ -96,7 +94,6 @@
margin: 4px;
margin-top: -30px;
padding: 4px;
font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
Expand All @@ -111,7 +108,6 @@
margin: 4px;
margin-top: -30px;
padding: 4px;
font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
Expand All @@ -128,7 +124,6 @@
margin-top: -24px;
padding: 4px;
border-radius: 4px;
font-family: Roboto;
font-size: 12px;
font-weight: 400;
}
1 change: 0 additions & 1 deletion voice-chess-react/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ body {
margin: 10px 0 0 10px;
padding: 4px;
cursor: grab;
font-family: Roboto;
font-size: 16px;
font-weight: 900;
}
Expand Down
1 change: 1 addition & 0 deletions voice-chess-react/src/index.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit db9d9be

Please sign in to comment.