Skip to content

Commit 747f8aa

Browse files
committed
setup font
1 parent a1c8e9d commit 747f8aa

File tree

6 files changed

+10
-20
lines changed

6 files changed

+10
-20
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@chakra-ui/react": "^2.8.2",
1414
"@emotion/react": "^11.11.4",
1515
"@emotion/styled": "^11.11.5",
16+
"@fontsource/roboto": "^5.1.0",
1617
"@tanstack/react-query": "^4.36.1",
1718
"@tanstack/react-query-devtools": "^5.51.9",
1819
"@tanstack/react-table": "^8.19.3",
@@ -54,4 +55,4 @@
5455
"public"
5556
]
5657
}
57-
}
58+
}

src/constants/fonts.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/constants/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
export * from "./fonts";
21
export * from "./meta";
32
export * from "./routes";
43
export * from "./styles";

src/constants/routes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const isWhiteList = (pathname: string) => {
4646

4747
// t("Table")
4848
// t("List")
49+
// t("Grid")
4950
export enum ViewQueries {
5051
Table = "table",
5152
List = "list",

src/providers/chakra-provider/theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const getTheme = (primaryColor: PrimaryColor = "teal") =>
2323
extendTheme(
2424
{
2525
fonts: {
26-
heading: "var(--font-inter)",
27-
body: "var(--font-rubik)",
26+
heading: `'Roboto', sans-serif`,
27+
body: `'Roboto', sans-serif`,
2828
},
2929
colors: {
3030
primary: baseTheme.colors[primaryColor],

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,11 @@
11971197
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
11981198
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
11991199

1200+
"@fontsource/roboto@^5.1.0":
1201+
version "5.1.0"
1202+
resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-5.1.0.tgz#00230737ec09c60ae877a5e33d067c0607fdd5ba"
1203+
integrity sha512-cFRRC1s6RqPygeZ8Uw/acwVHqih8Czjt6Q0MwoUoDe9U3m4dH1HmNDRBZyqlMSFwgNAUKgFImncKdmDHyKpwdg==
1204+
12001205
"@humanwhocodes/config-array@^0.11.14":
12011206
version "0.11.14"
12021207
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"

0 commit comments

Comments
 (0)